[thelist] Avoid "#" and "onclick" in "<a href"

Christian Heilmann codepo8 at gmail.com
Fri Mar 24 07:02:59 CST 2006


> I guess I could put some of the code I use in the onclick-tag into a
> separate javascript function. But still, I don't see how I can avoid
> the "#"-reference.

http://www.onlinetools.org/articles/unobtrusivejavascript/chapter2.html

There is nothing wrong with using a #' as long as you stop the link
from following it. :-)

More later...


--
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/



More information about the thelist mailing list