I can’t find a way to do what I’m trying so maybe someone can throw something at me.
The idea is if an option is not in a select list, the user can click a link next to the list ‘not there?’ and this will open uop a text field box below. The user then enters the missing option, hits enter and the select list will update and have the new entry already selected.
I can use remote_form_tag to get to send the text_field without refreshing the page but I can’t find an option as with text_field_with_auto_complete’s :after_update_element. I want to fire another Ajax request to repopulate the select list.
I may already have seen the solution in my searching but I now can’t see the wood for the trees.