hides it for me. you may have something else going on in the page? another element with the same ID? some other conflict? run just the code that you posted in the original message (nothing else) and you should see it work.
On Mon, Dec 15, 2008 at 6:23 PM, Rick Faircloth <r...@whitestonemedia.com>wrote: > The script doesn't hide the <p> tag and its contents…no error is given, > > it just doesn't work. The <p> tag and its contents are visible on the > page. > > > > *From:* jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] *On > Behalf Of *Sam Sherlock > *Sent:* Monday, December 15, 2008 9:21 PM > *To:* jquery-en@googlegroups.com > *Subject:* [jQuery] Re: Why won't this work? > > > > what does not work? > > 2008/12/16 Rick Faircloth <r...@whitestonemedia.com> > > > Why won't this... > > <script type="text/javascript"> > > $(document).ready(function(){ > $('#emailError').hide(); > }); > > </script> > > hide this... > > <p id="emailError" style="color:red;">Please enter your email address.</p> > > ??? > > Rick > > > -- I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success.