मेरे वेब अनुप्रयोग यहाँ चल रहा है: URL मैं यानी ब्राउज़र के लिए jQuery संस्करण 1.7.1.min.js उपयोग कर रहा हूँ और मैं के लिए निम्न त्रुटि हो रही है IE 7 और 8हल करने के लिए jQuery IE 7/8 स्क्रिप्ट में सक्षम नहीं 3 सदस्य नहीं मिला त्रुटि
त्रुटि विवरण:
SCRIPT3: Member not found.
jquery-1.7.0.min.js, line 2 character 30982
मैं यह भी पता है कि e.nodeValue
रिक्त है के रूप में आप संलग्न चित्र में दिखाई दे सकते हैं। । हालांकि, एक ही कोड IE 9 और 10 के लिए ठीक चलाता है।
कोड के माध्यम से जाने के दौरान, मुझे नीचे दिया गया कोड मिला है जो i6/7 के लिए नहीं चलता है। इस त्रुटि से छुटकारा पाने के लिए कोई मदद?
/ 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 + "");
}
};
क्या आप डीबग फ़ाइल का उपयोग करके डीबग कर सकते हैं? यह न्यूनतम संस्करण में हमेशा सटीक नहीं है। –
@OnurTOPAL मैंने सर्वर पर डीबग संस्करण के साथ min.js कोड को बदल दिया है। –
क्या यह आपकी मदद कर सकता है? http://stackoverflow.com/questions/7993085/ie-9-showing-displaying-member-not-found –