Hello, I want to disable/enable a button with Javascript. Because the Javascript is called, after a Flash animation is rendered, the button exists at the time of the execution.
The button is in a hierarchy:
<html><body><form#form1><div#control><asp:Button#Export1>
I tried for hours to get a reference to that button, but nothing (document.getElementById("Export1") / document.getElementbyId("form1").getElementById("control").getElementById("Export1") / and many more) seems to work.
How to get a reference to that button (in order to change btnref.disabled = true)?
Thanks a lot for your help!