URL using "http://localhost:8000/test.html"
I want to change URL to "http://localhost:8000/test.html?countrycode=SG" or "http://localhost:8000/test.html?countrycode=MY" or "http://localhost:8000/test.html?countrycode=IN" based on the selectize value selected.
Also, On select change it have get value and refresh the page.
Thanks
HTML:
<div class="select-container">
<select class="custom-select">
<option value="SG">Singapore</option>
<option value="MY">Malaysia</option>
<option value="IN">India</option>
</select>
</div>
JS:
$('.custom-select').selectize();