I think toString() returns the same result.. so use something like
 
xlayer.toString().indexOf('layer39')
 
 
 

Pascal Bestebroer ([EMAIL PROTECTED])
Software ontwikkelaar
Oberon Informatiesystemen b.v.
http://www.oibv.com

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Namens Raymond Smith
Verzonden: donderdag 18 januari 2001 7:20
Aan: [EMAIL PROTECTED]
Onderwerp: [Dynapi-Help] Filtering a "result"

If a query to xlayer.children produces a statement like this...
 
DynAPI.getDocument("DynDocument0").all["JSDynLayer1"],DynAPI.getDocument("DynDocument0").all["JSDynLayer3"],DynAPI.getDocument("DynDocument0").all["JSDynLayer4"], etc..............
 
except with 39 layers in it.  Whats the best way to test for the presence of "1" of the 39?

Reply via email to