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: 278 | Points: 40
Answer:

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