On Oct 26, 2008, at 9:33 PM, 5h4rk wrote:
Hi, I have <p class="jsoff">Please turn Javascript on to view the content.</p> and $('p.jsoff').hide(); When I turn CSS off using the Web Developer Extension for Firefox and Javascript on, the message is somehow not hidden. I'm not sure if this is the problem, but Instead of style="display:none;", webdeveloper- inline-style="display:none;" is applied to the p. It works fine when CSS is on though. Appreciate your help. Thanks.
That's right. the .hide() method uses display: none; which is a css declaration. You could try $('p.jsoff').remove() instead.
--Karl ____________ Karl Swedberg www.englishrules.com www.learningjquery.com