Duplicate. See: http://groups.google.com/group/jquery-en/browse_thread/thread/e47ce13098a16ef/606e652153c624a2#606e652153c624a2
------------- Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Wed, Jan 14, 2009 at 3:32 PM, naden <n...@naden.de> wrote: > > I'm using jQuery 1.2.6 and having an <a> element with the attribute > ajax:id="46" > > <a href="#" ajax:id="46">Test Link</a> > > According to http://docs.jquery.com/Selectors/attributeEquals#attributevalue > you have to escape ":" with double backslash like: > > alert( $( "a[ajax\\:id='46']" ).attr( 'href' ) ); > > I tried a lot, but it's not working? > > Any hint would be appreciated! > > thanks >