0

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();
Aravin
  • 4,126
  • 1
  • 23
  • 39

4 Answers4

1

Maybe you can use ajax... is javascript, but you can send a value to a server in async mode... without submit the form

Eleazan
  • 438
  • 2
  • 6
1

Use window.location.href="../controller/vieworderprocess.php?name="+combine";

Arut
  • 940
  • 14
  • 32
0

You cant submit a form without either having a submit form or thorough using the submit() function in JavaScript.

웃웃웃웃웃
  • 11,829
  • 15
  • 59
  • 91
Zevi Sternlicht
  • 5,399
  • 19
  • 31
0

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.

웃웃웃웃웃
  • 11,829
  • 15
  • 59
  • 91