Disabling button loaded after the document is ready
Hi;
I need to disable a submit button that is loaded dinamically after the document is ready. I have no problem to do this using the document on event and triggering elements events:
$(document).on("click","a.button.saveForm", function () {
$(".detail-button").attr("disabled", "disabled");
});
The problem is that I have not found the way to change de attribute of the button without using this kinds of events.
Is there any way to change the attributes of any element loaded after document is ready without using any element event like "click", "mouseover" ..
Thanks !