Hi all,
Using Apex 4.1, I'm trying to adjust any "Text field with autocomplete" item on my page so that it will automatically display the options onfocus or when key-down.
I've tried to adapt this to APEX
http://forum.jquery.com/topic/autocomplete-on-focus-show-default-drop-down
based on ideas I saw here
2130716
but my jquery kungfu is still growing...
For instance, I tried this for a specific field - it's syntactically ok & no errors reported in the console, but nothing happens on focus
(Footer text on page)
<script type="text/javascript">
$("#P1_ITEM").bind('focus',(function(){
if (this.value == "")
$(this).trigger('keydown.autocomplete');
}));
</script>
Thanks!