I have an auto-complete field driven by the Scriptaculous Ajax.AutoCompleter() request. I want to change the URL that handles the request based on the state of a select box in my form. So basically if the select box is clicked, I want requests to got to http://a.com/auto1 and if it is not clicked, I want requests to go to http://b.com/auto2

 

I’ve not been able to figure out how to “unbind” the input box from the autocomplete request and rebind it to a new URL. Any help is appreciated.

 

Thanks

 

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to