Jscript: Submit

Results 1 to 4 of 4

Thread: Jscript: Submit

  1. #1
    Join Date
    Dec 1969

    Default Jscript: Submit

    Hi All!<BR><BR>I&#039;m having trouble trying to submit a form using JScript. What i&#039;m trying to do is submit the page using:<BR><BR>&#060;input type="button" value="Search" name="B1" onclick="window.open(&#039;ClientList.asp&#039;,&# 039;ClientList&#039;,&#039;width=730,height=490,le ft=10,top=10,scrollbars&#039;);return false;submit();"&#062; <BR><BR>I&#039;d like the page to be opened in a specific way (size, scrollbars).... this does work but my submitted form elements are not being picked up!<BR><BR>Can anyone help me please!?<BR><BR>Thanks<BR>Sal<BR>x<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Jscript: Submit

    I think the values have to be sent through querystring appended to the url in the window.open function. Other wise the values will not be available in the newly opened form.

  3. #3
    Rafael Flores Guest

    Default RE: Jscript: Submit

    Try with the get method in your form definition, yo will see if the elements are being passed ok to your new page.<BR><BR>hope it helps

  4. #4
    bugo Guest

    Default RE: Jscript: Submit

    the right way is:<BR>[form id].submit()

Posting Permissions

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