ajax-chosen
ajax-chosen copied to clipboard
Dynamically change URL based off radio list
I want to be able to change the options list in ajaxChosen dynamically as the user, uses the page.
Can someone give me a clue
I have debugged it in the debugger to look at the object structure of the select element.
And I can't figure out where I can access the options.
Some of the Various forms I have tried $([element]).chosen('options','url',[value]); $([element]).ajaxChosen('options','url',[value]); $([element]).data('chosen','options','url',[value]); $[element]).data('ajaxChosen','options','url',[value]); $([element]).ajaxChosen().options.url = [value]; $([element]).chosen().options.url = [value];
I for the life of me can't figure this out.
Any help is truly appreciated!
+1 for this, would be very useful!