Check if an object is defined in html
Posted
by Manikanta
on Stack Overflow
See other posts from Stack Overflow
or by Manikanta
Published on 2010-04-22T03:11:02Z
Indexed on
2010/04/22
3:13 UTC
Read the original article
Hit count: 272
In HTML, I have an object tag as follows:
<OBJECT ID="objectid" CLASSID="some-class-id" CODEBASE="some-codebase">
I have written a function in JavaScript to access this object.
I checked the null value as follows:
if(objectid==null){-----}
i want to check if the object is undefined or is empty. Do we have any functions to check so?
© Stack Overflow or respective owner