[jQuery] Re: Getting null when trying to retrieve textarea value

2007-05-11 Thread [EMAIL PROTECTED]
A minor correction to what was up above it should be a *= not just an = On May 11, 3:15 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Sorry I didn't provide an accurate description above. Basically the > scenario is that I have a asp:textbox control set with multiline, and > when the page

[jQuery] Re: Getting null when trying to retrieve textarea value

2007-05-11 Thread [EMAIL PROTECTED]
Sorry I didn't provide an accurate description above. Basically the scenario is that I have a asp:textbox control set with multiline, and when the page renders, the id/name of the control also gets changed. Anyways I was using the above as a way to get the value of the control without knowing the

[jQuery] Re: Getting null when trying to retrieve textarea value

2007-05-11 Thread [EMAIL PROTECTED]
The reason I am using the other is because of asp.net. When it renders it changes the id of the tag, so all I know is that snippet. On May 11, 12:51 pm, Sam Collett <[EMAIL PROTECTED]> wrote: > On May 11, 5:46 pm, Bil Corry <[EMAIL PROTECTED]> wrote: > > > [EMAIL PROTECTED] wrote on 5/11/2007 9:3

[jQuery] Re: Getting null when trying to retrieve textarea value

2007-05-11 Thread Sam Collett
On May 11, 5:46 pm, Bil Corry <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote on 5/11/2007 9:34 AM: > > > I am trying to get the value of a textarea with the following code, > > however it is returning null all the time. > > > var curText= $("[EMAIL PROTECTED]").val(); > > This works: > >

[jQuery] Re: Getting null when trying to retrieve textarea value

2007-05-11 Thread Bil Corry
[EMAIL PROTECTED] wrote on 5/11/2007 9:34 AM: I am trying to get the value of a textarea with the following code, however it is returning null all the time. var curText= $("[EMAIL PROTECTED]").val(); This works: var curText= $("#myText").val(); - Bil