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,130
  • 1
  • 21
  • 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
  • 428
  • 2
  • 6
1

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

Arut
  • 928
  • 14
  • 32
0

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

Deepu
  • 11,587
  • 13
  • 55
  • 88
Zevi Sternlicht
  • 5,349
  • 16
  • 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.

Deepu
  • 11,587
  • 13
  • 55
  • 88