Starting JavaScript With A Click
JavaScript No Comments »I’m on a roll.
Same cause… the n00b: “I use anchor tags to start JavaScript because IE requires it”.
Two words: Bull… shit.
This is how many people start JavaScript (and it’s still being propagated all over the place (*points accusing finger at DynamicDrive and About.com* Stop it, you fools!):
<a href="#" onclick="doStuff()">Clickable stuff</a>
This is wrong, mmmmkay?

Mehdi is a 30-some year old nerd, who's learned
how to program and script the hard way - by being thrown into a job that required it.
Recent Comments