Select2 jquery tutorial - reset and empty value (select2 v.3.5 and v.4)
Channel:
Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=JSoXxXmTvuo
in this video i will show you how to reset value select2 jquery. So simple, just add the following script :
$("#address").select2('val', '');
$("#address").html('');
in your javascript ..
that script works on select2 v.3.5.3 and also v.4.0
---
see this video for details.
Other Videos By Ambar Hasbiyatmoko
Tags:
select2
jquery
dropdown
reset
value
empty
javascript
script
localhost
browser
error
problem
html
tutorial