How to redirect to another page on the server when hyperlink is clicked?

By S.VENGADESHWARAN - April 09, 2017

Ans:<a href="javascript:void(0)" onclick="alert('myFunc executed');myFunc();window.location='http://google.com'">Click here</a>

  • Share:

You Might Also Like

0 comments