What is the alternate way of calling Javascript function instead of OnClientClick event of Button control?

 Posted by Rajesh_Kumar on 2/11/2014 | Category: JavaScript Interview questions | Views: 881 | Points: 40

We can use onClick event of Button control for calling any Javascript function.

onClick event is same as OnClientClick event.

For Example:-
function alert_msg()


<asp:button id="btn_alert" onClick ="alert_msg();"/>

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response