SyntaxFix
Write A Post
Hire A Developer
Questions
Regarding:
var button = document.getElementById(/* Button client id */); button.click();
It should be like:
var button = document.getElementById('<%=formID.ClientID%>');
Where formID is the ASP.NET control ID in the .aspx file.