On May 9, 11:01 am, c19h28o2 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a textbox in Visual Studio 2003 with the following code
>
>   $(document).ready(function(){
>      $("#Form1 :text").hide();
>      $(".article .thebody").hide();
>      $("#container .article ul")
>        .prepend("<li class='readbody'><a href='' title='Read the
> article'>Read Body</a></li>");
>
>            $(".actions li.readbody a").click(function(event){
>        $(this).parents("ul").prev(".thebody").toggle();
>        $("#Form1 :text").toggle().show("slow");
>        return false;
>      });
>    });
>
> however the $(#Form1 :text").hide(); line will hide ALL the textboxes,
> does anyone know how to refer to an individual textbox i.e. TextBox1?
>
> Thanks

I answered my own question

should be  $("#TextBox1").hide();

Thanks

Reply via email to