[jQuery] Re: How to pick elements by id, if id includes [ and ] symbols?

2009-03-12 Thread dawnerd
I do not believe that is a valid id... Yup, looks like that why. Perhaps you should try to make the id valid. If you are looking to have an id with a unique number, use an underscore instead of brackets. via:

[jQuery] Re: How to pick elements by id, if id includes [ and ] symbols?

2009-03-12 Thread Charlie Griefer
On Thu, Mar 12, 2009 at 9:27 AM, last_elf chernik...@gmail.com wrote: Hello! I have some element (input type=text .. , or td.. ) with id = ph_number[289]; How can I pick it by ID ? $('#ph_number[289]') returns zero-sized object.