I have one method for get value from attribute
function GetValueFromAttributes(obj,i, key) {
if ($.browser.msie) {
return obj.childNodes[i].attributes.getNamedItem(key).text;
} else {
if (obj.childNodes[i].attributes) {
var namedItem = obj.childNodes[i].attributes.getNamedItem(key.toLowerCase());
if (namedItem) {
return namedItem.value;
}
}
return "";
}
}
in all browser work ok but in Internet Explorer 10 here
return obj.childNodes[i].attributes.getNamedItem(key).text;
give error: SCRIPT5007: Unable to get property 'text' of undefined or null reference
any ideas?