I am trying to fire the asp.net button click event from javascript. Its working fine in IE, but the same code is not working on Chrome, please help me. Here is the js code,
<script type= "text/javascript" language="javascript">
var btnSave = document.getElementById('btnSave');
btnSave.click();
alert("The changes are saved sucessfully!!");
</script>
Please help me