Your first example. Inline javascript on a link is bad. Actually, even in the first example, the link should do SOMETHING when JS isn't available, if that's not possible, than you should insert the link with your JS.
On 2/16/07, hcabbos <[EMAIL PROTECTED]> wrote:
What's the best way to apply a behavior to an anchor tag? <a href="#" class="someClass">my text</a> -- or -- <a href="javascript:;" class="someClass">my text</a> _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
