null, the object does not exist
var ii= document.getElementById("id");
alert(ii);
The id object does not exist on the current page
undefined
var i;
alert(i);
The declared variable is not initialized
alert(document.oiji); >
Empty
var iab = document.getElementById("name").value; alert(iab);
id= The value of name is empty
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn