Submit on numeric keypad - Intel XDK

0

Hello. I'm having trouble using submit in a numeric input on Intel XDK. I want you to click on the "GO / IR" function.

In JS it looks like this:

$('ins_prod').on('submit', function(){ alert("oi"); });

Only when running it resets the application.

    
asked by anonymous 05.12.2016 / 17:51

1 answer

1

Resolved: The input was inside a form. I removed it and the error reset the app, it stopped. Vlw by force.

    
05.12.2016 / 20:39