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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing layer>form>textbox>value in netscape!!!

Status
Not open for further replies.

ChrisMacPherson

Programmer
Jul 3, 2000
157
GB
I have just read a whole page about not using layers! I wish that the new browsers would hurry up!<br><br>I need to access the value of a text box which lies in a form, the form is in a layer/div. It works in IE fine (as usual) but i'm getting the old (has no properties...) msg!<br><br>Here is the statement I'm using:<br><br>if(itemString.indexOf<br>&nbsp;&nbsp;(document.searchlayer.searchForm.elements[0].value) != -1)<br><br>searchlayer is the layer name. I have also tried using layers[0], but to no avail.<br><br>Any help...Thank the lord!!!!!<br><br>Chris MacPherson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top