I'm trying to find a way to set a default value in selectize.js.
I know that in jQuery you can use:
$(".country").val("US");
But this doesnt work with Selectize. I already read the API documentation and I tried using:
$(".country").selectize().setValue("US");
But it doesnt work either.
I'm a newbie so I'm probably missing something here but can't figure out what. Any ideas?