Skip to content
Create a gist now

Instantly share code, notes, and snippets.

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);
return element.getElementsByTagName(tagName);
return null;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.