How to open a new Window using Javascript function from a Link button or an anchor tag?

 Posted by vishalneeraj-24503 on 10/8/2014 | Category: JavaScript Interview questions | Views: 671 | Points: 40
Answer:

VB.Net
link.Attributes("onClick") = "window.open('url','name','properties')"

C#
link.Attributes["onClick"] = "window.open('url','name','properties')";


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response