Form Submission

Results 1 to 2 of 2

Thread: Form Submission

  1. #1
    Pankaj Jain Guest

    Default Form Submission

    pls tell me how to use a var in submitting the form<BR><BR>i want PROD_SEARCH to be the variable form_name, pls tell me the syntax . i&#039;m getting the name of the form with "alert(form_name)"<BR><BR>but missing the syntax to replace PROD_SEARCH by a variable<BR><BR>function sel_change(form_name)<BR>{<BR>document.PROD_SEARCH .submit();<BR>}

  2. #2
    Join Date
    Dec 1969

    Default RE: Form Submission

    Use the forms[] collection:<BR><BR>document.forms[form_name].submit();<BR><BR>Dunc

Posting Permissions

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