Just investigated it:
http://dev.jquery.com/ticket/3729

The colon is valid I think, but it's true, there are some
restrictions.

On Jan 14, 2:27 pm, naden <n...@naden.de> wrote:
> That sucks. jQuery has no problem with $( 'a' ).attr( 'ajax:id' );
> Therefore it would be nice to use it in the selector too.
>
> thanks anyway have to change it.
>
> On 14 Jan., 14:05, "jQuery Lover" <ilovejqu...@gmail.com> wrote:
>
> > Slightly :)
>
> > You can not have special character in your html ATTRIBUTES.
>
> > You should rename "ajax:id" to something else. Ex: ajax_id or ajaxId.
>
> > -------------
> > Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com
>
> > On Wed, Jan 14, 2009 at 5:16 PM, naden <n...@naden.de> wrote:
>
> > > Your right. The docs said:
>
> > > "Note: if you wish to use any of the meta-characters described above
> > > as a literal part of a name, you must escape the character with two
> > > backslashes (\). For example:
>
> > > #foo\\:bar
> > > #foo\\[bar\\]
> > > #foo\\.bar"
>
> > > and so I did. I used \\: to escape the ":"
>
> > > or I'm gettin you wrong?

Reply via email to