javascript - Colon in Jquery selector -


i have recntly updated jquery 1.4 2.1 , error started appeared.

in code have part select elements id.

jquery("*[id^=name:]")

that produces error, there no errors before(1.4)

if escape colon error disappears. have added new in latest version or bug in code?

you can wrap attribute value string literal

jquery('*[id^="name:"]') 

demo: fiddle


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -