27
Sep
Learn how to detect an “undefined” object property in JavaScript
Use following code to detec an undefined object property in javascript.
if (typeof YOUR_VARIABLE === "undefined") alert("YOUR_VARIABLE is undefined");
By admin|JavaScript
Use following code to detec an undefined object property in javascript.
if (typeof YOUR_VARIABLE === "undefined") alert("YOUR_VARIABLE is undefined");