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

Scott.Wiseman swiseman at remax-cahi.com
Mon Aug 13 16:48:50 CDT 2001


thanks that is correct...forgot

-----Original Message-----
From: Josiah Gordon [mailto:jgordon at directfile.com]
Sent: Monday, August 13, 2001 2:33 PM
To: javascript at LaTech.edu
Subject: RE: [Javascript] does javascript have a function to test for an
Object


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

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript



More information about the Javascript mailing list