the double backslashes does work. thank you. sam
On Feb 10, 1:04 pm, 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 -