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

 

Reply via email to