Reputation: 4108
How to submit a dropdown box value in php without using submit and javascript is that possible or am i wrong.also i dont want to use following way
document.forms["adminorder"].action = "../controller/vieworderprocess.php?name="+combine;
document.forms["adminorder"].submit();
Upvotes: 0
Views: 165
Reputation: 950
Use window.location.href="../controller/vieworderprocess.php?name="+combine";
Upvotes: 1
Reputation: 11984
You can submit the form using j query form submit() method or java script form submit() method without submit buttons.Or you can use Ajax for sending the necessary values without submit method.
Upvotes: 0
Reputation: 438
Maybe you can use ajax... is javascript, but you can send a value to a server in async mode... without submit the form
Upvotes: 1
Reputation: 5399
You cant submit a form without either having a submit form or thorough using the submit() function in JavaScript.
Upvotes: 0