thanks, that's not really the task at hand, just a simple example to
demonstrate the problem.  I do appreciate the feedback however.

Sam


On Feb 10, 1:06 pm, James <james.gp....@gmail.com> wrote:
> Oh yeah, if you want to put text in a textarea, you're suppose to use
> val() instead of text():
>
> $("#\\#SAM1").val("hello");
>
> On Feb 10, 9:04 am, James <james.gp....@gmail.com> wrote:
>
>
>
> > Try double backslash escaping the second #-sign:
>
> > $("#\\#SAM1").text("hello");
>
> > On Feb 10, 7:36 am, Shredder36 <shredde...@gmail.com> wrote:
>
> > > Hello,
>
> > > How do I find an element who's id starts with #?
>
> > > For example:  <textarea id="#SAM1"></textarea>
>
> > > the following does not seem to work
>
> > >  $("##SAM1").text("hello");
>
> > > Any help is greatly appreciated.  thank you,
>
> > > Sam- Hide quoted text -
>
> - Show quoted text -

Reply via email to