I have a number of auto-complete fields on my page with a submit button. I know on a text field there is an option called "Submit when Enter pressed" which works fine however this option is not available on these fields.
I have looked at a couple of other forum posts, this one i felt i nearly solved it however when i pressed any key the action fired which was wrong..
https://forums.oracle.com/forums/thread.jspa?threadID=2425583
Can anyone help? How can i submit a page on enter using an auto-complete field?
<script type="text/javascript" src="#APP_IMAGES#jquery-1.8.2.min.js">
$('#P2_DOOR_NUMBER').keyup(function(e) {
if (e.keyCode == '13')
$('#P2_GO').trigger('click');
});
</script>
- Oracle Version: Oracle version 10.2.0.4.0
- Full APEX version: Application Express 4.1.1.00.23
- Browser(s) and version(s) used: Internet Explorer 7 & 8
- Theme: Simple Red Template(s): The standard templates with the Simple Red theme.