[Javascript] does javascript have a function to test for an Object

Josiah Gordon jgordon at directfile.com
Mon Aug 13 16:32:46 CDT 2001


It depends on what you are looking for. Form elements work well. I use a
syntax like this:

if (document.a.id1) alert("yep, it's there");


--Josiah Gordon

-----Original Message-----
From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
Behalf Of Scott.Wiseman
Sent: Monday, August 13, 2001 2:21 PM
To: 'javascript at LaTech.edu'
Subject: [Javascript] does javascript have a function to test for an
Object


i.e.

if (document.myform.officelinklist) is an object then...
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.265 / Virus Database: 137 - Release Date: 7/18/2001

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.265 / Virus Database: 137 - Release Date: 7/18/2001




More information about the Javascript mailing list