Submit buttons & frames

Results 1 to 2 of 2

Thread: Submit buttons & frames

  1. #1
    Join Date
    Dec 1969

    Default Submit buttons & frames

    If I have two frames and I&#039d like to know if it is possible to have a submit button on one frame that can submit data from both frames to another asp which submits the data to a database.<BR><BR>Thanks<BR><BR>Erica

  2. #2
    Join Date
    Dec 1969

    Default RE: Submit buttons & frames

    Yes.<BR><BR>You do it by using client-side JavaScript to copy the values from the form in one frame into &#060;INPUT TYPE=HIDDEN...&#062; form fields in the primary frame, and then allow the submission in the primary frame.<BR><BR>You can do it all in the "onSubmit" event handler for the form on the primary page.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts