La mia app web è in esecuzione qui: URL Sto usando jquery versione 1.7.1.min.js per ie browser e sto ottenendo il seguente errore per IE 7 e 8.Non riesco a risolvere jquery IE 7/8 Script 3 Errore membro non trovato
errore dettagli:
SCRIPT3: Member not found.
jquery-1.7.0.min.js, line 2 character 30982
ho anche scoprire che e.nodeValue
è nullo, come potete vedere nell'immagine allegata. . Tuttavia, lo stesso codice funziona correttamente per IE 9 e 10.
Mentre si passa attraverso il codice, ho trovato il codice seguente che non funziona per ie6/7. Qualsiasi aiuto su come sbarazzarsi di questo errore?
/ 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 + "");
}
};
è possibile eseguire il debug con il file di debug? Non è sempre preciso nella versione min. –
@OnurTOPAL Ho appena sostituito il codice min.js con la versione di debug sul server. –
Può questo aiutarti? http://stackoverflow.com/questions/7993085/ie-9-showing-displaying-member-not-found –