We'll respond shortly.
“jQuery throwing a syntax error when using
Has anyone seen jQuery throw a syntax error when passing a
data- attribute name to the
is() function? This code often works, but started throwing a syntax error after some markup was removed and then re-inserted into the DOM:
$("#foo").attr("data-bar") = 5; $("#foo").is("[data-bar]");