I'm trying to do exactly what the title says - change the selected value of a dropdown field using javascript.
I have a custom Google Address I'm trying to sort out, trying to use the results to change the selected item in my State dropdown, but nothing works. Thanks.
I have a custom Google Address I'm trying to sort out, trying to use the results to change the selected item in my State dropdown, but nothing works. Thanks.
Hi healyhatman,
After changing the select field value using javascript you can try to call the following code:
After changing the select field value using javascript you can try to call the following code:
$("#select_id").closest(".dropdown").dropdown("refresh");Best regards
That did it, thanks.
This topic is locked and no more replies can be posted.