> 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/