- Typeerrorunable to set property ' value ' of undefined or null reference.
However, you can go to add page, fill out the information, submit to the error page, (Unknown system error)
Reference Solutions:
Http://stackoverflow.com/questions/21775185/error-unable-to-set-property-value-of-undefined-or-null-reference
Https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError
The end result is that the name is replaced with an ID.
1 <%--var hidden = document.createelement ("<input type= ' hidden ' name= ' <%=myid> ' >");--%> 2 var hidden=document.createelement ("input"); 3 hidden.setattribute ("type", "hidden"); 4 hidden.setattribute ("id", "myID"); 5 Obj.appendchild (hidden);
The following should be added subscript, such as Getelementsbyname ("") [0].value;
Solution: document.getelementbyid.iframe1.style.display= ' none ';
- Unable to set property ' disabled ' of undefined or null reference
Resolution: Document.form1.birthdaystr.disabled= true;
PS. <form name= "Form1"
- document.getElementById () that existed before the upgrade in the system, some of which are not supported in IE11
1 IF: 2 Form1.actionType.value = "SearchResult"; 3 Then : 4 var Form1 = Document.getelementsbyname ("form1") [0]; 5 Other points Similar
- The function in the onclick () is reported _submitquery is undefined
1 function _submitquery () {2 if (! _checkquery ()) {3 alert ("-----"); 4 } 5 return6 }
Cause: One of the getelementsbyname in _checkquery () is labeled [], without adding 0;
Cause: IE11 does not support the "Document.frames (" pendingactivities ") usage.
function Dorediary () {var radios=doucment.frames ("Pendingactivities"). Document.getelemntsbyname (" Selectedactivities ");}
To be replaced by:
function Dorediary () {var radios=doucment.frames["pendingactivities"].document.getelemntsbyname (" Selectedactivities ");}
Technical Source: blog.sina.com.cn/s/blog_74924f2401017t0a.html
continuous updating;
IE upgrade code when the message content