PDA

View Full Version : "javascript:"???


jscript_newbie
01-06-2003, 06:11 AM
One quick question...


Is those "javascript:" in onClick/onLoad="" and etc.. really necessary or is it just sufficient to leave it out?

Cheers!

jkd
01-06-2003, 06:23 AM
Don't use it. 'nuff said. :)

brothercake
01-06-2003, 10:40 AM
it's necessary when you use it in the url:

<a href="javascript:

but not with event handlers