I\'ve been making a concerted effort to improve my javascript skills lately by reading as much javascript code as I can. In doing this I\'ve sometimes seen the javascr
The origins of javascript:
in an event handler is actually just an IE specific thing so that you can specify the language in addition to the handler. This is because vbscript
is also a supported client side scripting language in IE. Here's an example of "vbscript:".
In other browsers (as has been said by Shadow2531) javascript:
is just a label and is basically ignored.
href="javascript:..."
can be used in links to execute javascript code as DannySmurf points out.