"Poor choices" is relative. I'd love a way to use colons in IDs
avoiding the confusion with pseudo-selectors, kind of like namespacing
elements. If it's in the specs it's perfectly valid.

On May 26, 9:17 am, MorningZ <morni...@gmail.com> wrote:
> No, it's not a bug, your selector is looking for an item of class
> "name"... so it's your selector that is the issue, not jQuery  (your
> naming/id convention would also cause issues with CSS)...
>
> If you insist on poor choices for naming your controls, it is still
> possible to select the items though
>
> http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_...
>
> On May 26, 4:09 am, "weit...@263.net" <weit...@263.net> wrote:
>
> > when i use jquery get a input like
> > <input type="text" id="user.name" name="user.name"/>
>
> > use $("#user.name") is error
>
> > if input is
> > <input type="text" id="username" name="username"/>
> > use $("#username") is right
>
> > is bug?

Reply via email to