I am trying to create a window with modal property but i don't how to create the modal property ,
does anyone can help me please.
----- Original Message -----
Sent: Friday, October 26, 2001 9:53 PM
Subject: [Dynapi-Help] can't reach form elements on dynlayer

Help!
 
If I've got a layer, which part of the html reads:
 
html+="<input name=\"txtStaffName"+disnum+"\" type=\"text\" size=\"15\" value=\""+curEvent.People[cnt].Name+"\"></td>\n";
 
How come, when I use this code later (to retrieve the changed value):
 
curEvent.People[cnt].Name = eval("lyrStaff.doc.display.txtStaffName"+disnum+".value");
 
I get the error that this isn't an object?
 
If I do an alert box, I get an "object" reported for everything up the chain until "display" (the form). After that, it all shows up as undefined! An alert box for the complete text of the html for the layer confirms the "disnum" part to correlate correctly, too.
 
 

Reply via email to