What is an alternative way of calling JS function in control definition?

 Posted by vishalneeraj-24503 on 6/6/2014 | Category: ASP.NET Interview questions | Views: 1169 | Points: 40

We have onclick event of HTML control through which we call call JS function.
<input type="button" name="button" id="button1" onclick="setborder();" />

Where,setborder() is my Javascript function.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response