[thelist] Dumb Question (Javascript) but still causing diffic ulties
Rob Smith
rob.smith at THERMON.com
Wed May 12 10:23:27 CDT 2004
> The use on "javascript:" inside an event handler is redundant and is
> hurting my eyes.
>
> onclick=""
> onsubmit=""
> etc...
>
> should *not* have the "javascript:" bit. Ever.
I'm sure I've read this somewhere before, but I forget - why is this?
Sarah
-------------------------
I would assume that it's because of the event handler that caused the call.
onclick, onsubmit, onfocus, onblur, etc.
Rob
More information about the thelist
mailing list