Change menu item text
Simple way of changing a list element without needing to find the nth child, element, relative, etc...var item = $jq('.region_menus a[href="/hiya/home"]');
item.text("Find Food here");
And that is it!
IndexOf function Not valid on IE8
Array.prototype.indexOf = function(obj, start) {
for (var i = (start || 0), j = this.length; i < j;
i++) {
if (this[i] === obj) { return i; }
}
return -1;
}
No comments:
Post a Comment