Karthik Abram
2006-Jul-15 17:50 UTC
Scripaculous auto-complete - how to change URL after binding
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-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs