What would be the best way to reset the selected item to default? I\'m using Select2 library and when using a normal button type=\"reset\", the value i
This is the correct solution from now on according to deprecated message thrown in debug mode:
"The select2("val") method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead"