document.getElementById(ButtonClickId).click();
above code working fine in the local environment but when I host my application it gives me access denied in IE. for chrome it's working for me
document.getElementById(ButtonClickId).click();
document.getElementById(ButtonClickId).click();
above code working fine in the local environment but when I host my application it gives me access denied in IE. for chrome it's working for me
document.getElementById(ButtonClickId).click();
It's Browser version issue. In local IE browser was IE- Edge and on Live it was IE 7. That is the issue code was not working.