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 Quote 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) Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.