You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function matchByName(name) {
var selector = "[name='" + name + "'], [id='" + name +"']";
// include elements in this set that match as well a child matches
return self.filter(selector).add(self.find(selector));
}
The text was updated successfully, but these errors were encountered:
matchbyname causes a syntax error when using jquery 1.5.1 on ie8
e.g.
selector = "[name=ctl00$ctl00$_mainContent$_mainToolbar$_flightSearch$_origin], [id=ctl00$ctl00$_mainContent$_mainToolbar$_flightSearch$_origin]" fails
Seems to require the single quotes e,g,
function matchByName(name) {
var selector = "[name='" + name + "'], [id='" + name +"']";
// include elements in this set that match as well a child matches
return self.filter(selector).add(self.find(selector));
}
The text was updated successfully, but these errors were encountered: