(Hopefully) useful tip for anyone who uses javascript. Don't use "javascript:" in a link URL to fire a javascript function. There is absolutely no reason to use it (apart from making bookmarklets but that's something else entirely). Browsers that don't support javascript will choke on it when for no extra cost you could use it to at least give them some kind of warning message.

Basically, instead of this:
Code:
<a href="javascript:doSomething()">click</a>
Do this:
Code:
<a href="noJS.html" onClick="doSomething(); return false;">click</a>
Set noJS.html up as a simple page that informs the user that javascript must be turned on for that feature to work. Browsers that understand javascript will fire the function from the onClick event and then NOT visit the link due to the return false; command.

Even better, if clicking the link is meant to make a popup window appear use this:
Code:
<a href="popup.html" target="_blank" onClick="popUpFunction('popup.html', 100, 100); return false;">click</a>
That way browsers without javascript will still open the pop up page in a new window.

I think the javascript: protocol thingy is deprecated now as well, but I can't find a link to back that up.

Cheers,

Skunk