I want to do something like this:
var sp = el.getElement('option[value="Option With Spaces"]');
ie. Select an option element in a select drop down box that so happens to have spaces in the value field.
Mootools doesn’t seem to like it. I can’t find any documentation that can resolve this.
Does anyone have any ideas? Thanks
Version: Mootools 1.1
in your old mootools 1.11, you need to use filter if your attribute/property is not a single word (even – breaks it so data-nnn will fail as well).
http://jsfiddle.net/dimitar/3AEZA/1/