Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

addressing form element in absolutely positioned objects for NN

Status
Not open for further replies.

stanislav

Programmer
Jul 17, 2000
4
UA

How can I address (for NN) a value of <input type=text> located in absolutely positioned table.

<table id=t1 style=&quot;position:absolute;top:100;left:100&quot;><tr><td>
<form name=&quot;frm1&quot;>
<input type=&quot;text&quot; name=&quot;txt1&quot; size=8 value=&quot;&quot;>
</form></td></tr></table>
 
document.layers.t1.frm1.txt1.value should work
 
iza, thanks for answer.
I thought it should have worked. I have tried it before my posting. but it does not work.

The NN console tells me:
document.layers.t1.frm1 has no properties.


 
what about document.layers.forms[0].txt1.value ??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top