Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Form Submit Dynamic URL, Leave Fields Off

Reply
Thread Tools

Form Submit Dynamic URL, Leave Fields Off

 
 
Mitchell Fisher
Guest
Posts: n/a
 
      05-27-2007
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 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
submit 1 form to 2 servers or 2 forms to 2 server (1 form each) on 1 submit abansal.itp@gmail.com Javascript 3 06-23-2007 07:29 AM
Dynamic form fields added with appendChild or innerHTML do not POST on submit in Firefox Derek Basch Javascript 1 05-24-2007 02:59 AM
Dynamic form fields added with appendChild or innerHTML do not POST on submit in Firefox Derek Basch Javascript 0 05-23-2007 11:40 PM
Multiple "Submit" Buttons & Form Fields =?Utf-8?B?QWxleCBNYWdoZW4=?= ASP .Net 5 05-10-2006 12:54 PM
document.form.submit() doesn't work for large form fields alan_atwood Javascript 2 03-02-2006 04:25 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57