public
Last active

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12
function _aspxGetElementsByTagName(element, tagName) {
tagName = tagName.toUpperCase();
if(element != null){
var elementAllExists = !!element.all;
var opera10_50 = __aspxOpera && elementAllExists && !element.all.tags;
if (elementAllExists && !opera10_50 && (!__aspxFirefox || __aspxBrowserVersion < 3))
return __aspxNetscape ? element.all.tags[tagName] : element.all.tags(tagName);
else
return element.getElementsByTagName(tagName);
}
return null;
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.