This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes How to force a post? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to force a post?" Watch "How to force a post?" New topic
Author

How to force a post?

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1093
I'm trying to hide URL parameters when calling a destination form.
What I want to do is to pass URL parameters via a GET to an intermediate form and then, somehow, cause a POST programatically from that form to the actual destination form (without the user having to click "Submit").
Is this possible?
How to do?
Thanks for anyone's input.
- Mike
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15385
    
    6
set the form to post
and
document.FormName.submit();
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to force a post?