Closed heini23 closed 6 years ago
Hi @heini23!
If the input is inside of a <form>
element, then the easiest thing to do is to use the accepted
callback to submit the form.
accepted: function(event, keyboard, el) {
// Don't submit an empty value
if (el.value) {
$("#myform").submit();
}
}
wow that was easy. It works perfect :D
Thank you so much!
Hi @Mottie,
I really love your script but have a huge newbie Problem. It would be so great if you can help me with it.
Im using your example code from "Custom Hex". If someone presses the green button it should send a submit request to the URL test.php. Do you know how I can solve this?
Thanks!