onclick event is not fire in google chrome

Posted by purnang.advant on Stack Overflow See other posts from Stack Overflow or by purnang.advant
Published on 2010-03-26T06:51:32Z Indexed on 2010/03/26 6:53 UTC
Read the original article Hit count: 179

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,

var btnSave = document.getElementById('btnSave'); btnSave.click(); alert("The changes are saved sucessfully!!");

Please help me

© Stack Overflow or respective owner

Related posts about javascript-events

Related posts about ASP.NET