linux1880 Posted April 14, 2010 Share Posted April 14, 2010 hi friends what does this means ? href="JavaScript:void(0);" Quote Link to comment Share on other sites More sharing options...
trq Posted April 14, 2010 Share Posted April 14, 2010 If you have a Javascript function within a href that returns a value the browser will try and open a page at a url of that value, void returns no value, this prevents the browser from going anywhere when the anchor tag is clicked on. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.