Versuchs mal mit
If (Test != undefined)

-----Original Message-----
From: Andreas Rudischhauser (N) [mailto:[EMAIL PROTECTED]]
Sent: 04 September 2002 09:04
To: AspGerman Kaffeehaus
Subject: [aspdecoffeehouse] Objekt da?


Wie kann ich Javascript �berpr�fen ob z.B. ein DIV Tag mit id="Test"
schon existiert?

If (Test) { }  geht nicht
If (Test != null) {} geht auch nicht



| [aspdecoffeehouse] als [EMAIL PROTECTED] subscribed
| http://www.aspgerman.com/archiv/aspdecoffeehouse/ = Listenarchiv
| Sie k�nnen sich unter folgender URL an- und abmelden:
| http://www.aspgerman.com/aspgerman/listen/anmelden/aspdecoffeehouse.asp

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________

_____________________________________________________________________
Privileged/Confidential Information may be contained in this message.
If you are not the addressee indicated in this message (or responsible
for delivery of the message to such person), you may not copy or 
deliver this message to anyone. In such case, you should destroy this 
message and kindly notify the sender by reply email. Please advise 
immediately if you or your employer does not consent to Internet email 
for messages of this kind.  Opinions, conclusions and other information 
in this message that do not relate to the official business of my firm 
shall be understood as neither given nor endorsed by it.

_____________________________________________________________________
This message has been checked for all known viruses by the 
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp

| [aspdecoffeehouse] als [email protected] subscribed
| http://www.aspgerman.com/archiv/aspdecoffeehouse/ = Listenarchiv
| Sie k�nnen sich unter folgender URL an- und abmelden:
| http://www.aspgerman.com/aspgerman/listen/anmelden/aspdecoffeehouse.asp

Antwort per Email an