jeboy Posted October 20, 2006 Share Posted October 20, 2006 I would like to ask if it is possible to submit a form by POST method using redirect?Thanks Link to comment https://forums.phpfreaks.com/topic/24516-submitting-a-form-without-clicking-submit-button/ Share on other sites More sharing options...
btherl Posted October 20, 2006 Share Posted October 20, 2006 You can do document.myform.submit() in javascript, for a form named "myform"That can even be done when there is no submit button (keep in mind that there'll be no "Submit=submit" type variables sent if you submit this way) Link to comment https://forums.phpfreaks.com/topic/24516-submitting-a-form-without-clicking-submit-button/#findComment-111716 Share on other sites More sharing options...
Daniel0 Posted October 20, 2006 Share Posted October 20, 2006 I think he wants the user to send a POST request without using a form. I don't know if you can do that Link to comment https://forums.phpfreaks.com/topic/24516-submitting-a-form-without-clicking-submit-button/#findComment-111725 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.