My web application works here: URL I use jQuery version 1.7.1.min.js for browsers, and I get the following error for IE 7 and 8.
Error Details:
SCRIPT3: Member not found. jquery-1.7.0.min.js, line 2 character 30982
I also found that e.nodeValue is null, as you can see in the attached image.
. However, the same code works fine for IE 9 and 10.
Looking through the code, I found the code below that does not work for ie6 / 7. Any help how to get rid of this error?
/ IE6/7 do not support getting/setting some attributes with get/setAttribute if ( !getSetAttribute ) { fixSpecified = { name: true, id: true }; // Use this for any attribute in IE6/7 // This fixes almost every IE6/7 issue nodeHook = jQuery.valHooks.button = { get: function( elem, name ) { var ret; ret = elem.getAttributeNode( name ); return ret && ( fixSpecified[ name ] ? ret.nodeValue !== "" : ret.specified ) ? ret.nodeValue : undefined; }, set: function( elem, value, name ) { // Set the existing or create a new attribute node var ret = elem.getAttributeNode( name ); if ( !ret ) { ret = document.createAttribute( name ); elem.setAttributeNode( ret ); } return ( ret.nodeValue = value + "" ); } };
Siddharth pandey
source share