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!

Frames Again

Status
Not open for further replies.

scohan

Programmer
Dec 29, 2000
283
US
I have a frameset containing 2 frames. One frame contains a form and the other I'd like to contain commands that can operate on the form in the other frame(e.g., Paste, Update DB.) How do I go about receiving user interaction from one frame (jsp file) that operates on the fields of the form in the other frame (another jsp file)?

For example, after the user clicks Update DB, I need to validate each of the fields in the form. How do I refer to those fields from the command frame. As another example, the Paste command will copy values from one row of the form into each of the other rows. Again, do I refer to those fields from the command frame? Thanks.
 
If I understand this right...you have a frame with a form and a validation script in the other frame right?...you can get the the other frame using the javascript refrence parent.frames[0].validateForm(), then to get back to check the form its parent.frames[1].document.formName.elementName.value -Greg :-Q
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top