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 wrote:
> That sucks. jQuery has no problem with $( 'a' ).attr( 'ajax:id' );
> Therefore it would be nice to use it in the selector too.
>
> t
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" wrote:
> Slightly :)
>
> You can not have special character in your html ATTRIBUTES.
>
> You should ren
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 wrote:
>
> Your right. The docs
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 wr
You can not have special character in attribute names. (it's not valid markup)
Documentation is saying that your should escape VALUE bit if it
contains special characters.
-
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Wed, Jan 14, 2009 at 2:11 PM, naden wro
5 matches
Mail list logo