Form Submit Dynamic URL, Leave Fields Off

Discussion in 'Javascript' started by Mitchell Fisher, May 27, 2007.

  1. Hi, I need to send a URL from a form like:

    http://thehost/12345?A=B

    where the number comes from a form text field. I can't send

    http://thehost/12345?A=B&formnum=12345

    where formnum is the field name, because I can't change the
    server-side application, and the application rejects the request if
    the formnum parameter is present.

    I am using JavaScript to build document.formname.action from the form,
    but the browsers (both IE 6 & Netscape 8) are appending the form
    fields too. I can't leave the name= part off of the form fields, can
    I, and still be able to access the fields?

    --
    Mitchell Fisher, Unisys Corp.
    remove spamnot before replying
     
    Mitchell Fisher, May 27, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dot net work
    Replies:
    4
    Views:
    532
    Dot net work
    Jun 16, 2004
  2. alan_atwood
    Replies:
    2
    Views:
    201
  3. Derek Basch
    Replies:
    1
    Views:
    129
  4. Derek Basch
    Replies:
    0
    Views:
    160
    Derek Basch
    May 24, 2007
  5. Replies:
    3
    Views:
    705
Loading...

Share This Page