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

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

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

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