Javascript form - help

Results 1 to 2 of 2

Thread: Javascript form - help

  1. #1
    Kate Guest

    Default Javascript form - help

    Hi there all,<BR><BR>I am newish to asp and even newer to using javascript to generate forms.<BR>However, I decided to use javascript code to create dynamic menus which work well, until I came to the part of submitting the form.<BR>There is a link pointing to the javascript:submitForm()function.<BR>This function contains a document.myForm.submit() command.<BR><BR>How to I get this to submit to my next asp page??<BR><BR>Please help<BR>

  2. #2
    alphageek Guest

    Default Passing values between pages

    Hi Kate:<BR><BR> To submit to your next page, in the FORM tag you must add ACTION="mynextpage.asp" and METHOD={GET&#124POST}. Get is less secure and involves request.querystring to get your values back, Post is more secure and uses request.form.<BR><BR>Good Luck!<BR>~Ben

Posting Permissions

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