Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: accessing Form values inside positioned div's enclosed in nested div


Message #1 by speedguru@m... on Wed, 19 Dec 2001 13:04:17
hi,

i'm working on a variation of the Tree at codeandhacks.com . I've modified the original code to handle Forms . its is at
http://www.geocities.com/mvar2001/jaytree.htm . 

it requires the following supporting pages
js - domutils.js, ns_utils.js, utils.js [ i've placed the contents of the original config_content.js in the jaytree.htm ]

images - closed.gif, opened.gif
 
css - ns_styles.css, styles.css

i can retrieve & display the selected form values in IE but i have trouble in Netscape . there is a root layer which encloses
parent layers which are further subdivided into sub-layers . I have to access the Form values inside those sub-layers . i'm able to
access the count of the parent layers using window.document.body.layers.length but not ALL the layers.

I'll be v. grateful if anybody can  pls let me know where i can find the documentation & examples related to  accessing
sub-layers [ fetching values from Forms inside positioned div tags which are further nested in a positioned div] or better still
(this is going to be the height of immodesty ;-)) help me with the code to show values of selected checkboxes in Nutscape similar to
the IE functionality in the 'iesubmit' link at the url above.

thanks for your time,
:-)rk


  Return to Index