Any idea why this selector should fail?
$('.Demographics :input["data-name"]')
You can see it here at jsfiddle.
I’m trying to get all the input elements that have a data-name attribute.
In jquery 1.9, I get this:
Syntax error, unrecognized expression: .Demographics :input["data-name"]
change:
to
Demo; jsFiddle