I have a dynamically generated Button element in my HTML that does a refresh:
<button id="b4545" type="button" onclick="ae(1657,1693,10,event.target);" title="Refresh the data">Refresh</button>
I would like to call the onclick event that it dynamically generates from a routine that has nothing to do with the actual mouse click event.
Is it possible to (for instance) get a reference to the button via the id (which is known) and then fish out the JS from the onclick event - and then call it?
OR - can I generate a fake onclick event for that Button?
Any ideas?