Answer: We can use
OnClientClick event of Button control for raising any Javascript function.
For Example:-
function alert_msg()
{
alert('rajesh');
}
<asp:button id="btn_alert" OnClientClick="alert_msg();"/>
Asked In: Many Interviews |
Alert Moderator