More information about the Underscore mailing list

[_] jQuery mystery

s'unya sunya.dickman at gmail.com
Tue Dec 15 16:30:17 GMT 2009

Hi Tim & Tom,

2009/12/15 Tim Beadle <tim.beadle at gmail.com>

> 2009/12/15 s'unya <sunya.dickman at gmail.com>:
> > That essentially sets the display to none. I.e no difference.
>
> I had issues where someone had used jQuery to explicitly set "display:
> none" instead of using hide(). In short, when I changed the code to
> use hide(), things worked properly. The jQuery authors have very
> kindly abstracted away the browser differences; it would be churlish
> not to make use of their hard work.
>
> Tim, hide() doesn't make any difference, but you make a good point.

Tom, thank you. You've spotted the issue, I wasn't checking far enough.

Thanks a lot all for your speedy and, as always, intelligent comment.


-- 
                     o
           o                 o
               O   O   O
     o  o   O s´unya O   o  o