On 24 Ott, 03:52, dsizemore <[EMAIL PROTECTED]> wrote: > Hi, > > In my first attempt at showing and hiding a div with jQuery, I've > hacked together this code and I'm looking for any thoughts on what I > did wrong (if anything?) The code seems to work in FireFox, IE7, and > Safari/Chrome. Opera and IE6 seem to work at random, so I'm not > exactly sure what's up with them, but I assume my code is flawed?
hi :) your code's fine. just one pointer, if you use the id, you don't need the tag. so instead of $('a#subscribeRollover'), you can write simply: $('#subscribeRollover') it's not wrong, simply redundant. should be a bit faster, too, I think.