Feedback Form

Sunday, September 14, 2008

a href=”javascript:void(0);” — avoid the void

ist2_3163272-computer-programming-code-with-pen

One of the most important hints about javascript and web development.

a href=”javascript:void(0);” — avoid the void


kick it on DotNetKicks.com

3 comments:

Anonymous said...

why?

Omar Abdel-Wahab said...

Could you suggest an alternative?
Thanks for the nice post.

Amr ElGarhy said...

alternative is to use:
a href="#" onclick="aFunction();return false;"
A Link
/a
and in the link inside the post you can read more about this.