• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I need help! trying to post to a page w/o opening the page..

 
darren schild
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy all!
I am trying to post to a web page but I don't want the page to open, either in the current window or a new one. Is this possibly???
What I am trying to do is:
1 have a user enter contact info
2 upon hitting submit, post the info to a url
3 not have the url open (in a page of the window)
4 automatically submit on the "posted" url
<FORM NAME="submitToCell" METHOD=POST ACTION="HREF=http://66.77.1.123/index.php?number=3193211010&message=testing&Send=submit">
Am I way off on this one?!?
Any help for this newbie would be much appreciated!!!
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question would fit better on the HTML/JavaScript board. Please post it there. Also, you are more likely to get an answer since the people there deal with these kinds of issues.
Layne
 
darren schild
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks layne, I'll do that...
 
darren schild
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Layne (or anyone) would there be another way to do it?!? Maybe using java? a servlet perhaps?
I'll take any suggestions on alternative methods...
thanks
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The HTML and JavaScript version of this conversation is here.
 
Dirk Schreckmann
Sheriff
Posts: 7023
 
Dave Comeau
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
POST your form to a page that outputs this header to the browser
HTTP/1.0 204 No Content
I believe the user will remain on the page that sent the POST vars.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic