I am using standard text_field_with_autocomplete with ''render :inline'' in the controller. I could use render :partial and wrap that list items with link_to_remote "#{customer.name}"..... but this won''t work when the item is selected with the ''return'' key, also seems to be a really clunky way of doing this .... in controls.js 207 Element.addClassName(this.getEntry(i),"selected") : I can see the selected item .... but how do I automatically trigger an action when the item is selected??? Thanks Bruce
I am using standard text_field_with_autocomplete with ''render :inline'' in the controller. I could use render :partial and wrap that list items with link_to_remote "#{customer.name}"..... but this won''t work when the item is selected with the ''return'' key, also seems to be a really clunky way of doing this .... in controls.js 207 Element.addClassName(this.getEntry(i),"selected") : I can see the selected item .... but how do I automatically trigger an action when the item is selected??? Thanks Bruce
I am using standard text_field_with_autocomplete with ''render :inline'' in the controller. I could use render :partial and wrap that list items with link_to_remote "#{customer.name}"..... but this won''t work when the item is selected with the ''return'' key, also seems to be a really clunky way of doing this .... in controls.js 207 Element.addClassName(this.getEntry(i),"selected") : I can see the selected item .... but how do I automatically trigger an action when the item is selected??? Thanks Bruce