642 0 0 0
Last Updated : 2024-03-28 22:03:49
this snippet will teach you how to select first option of select element specially on real time or ajax response
$("#target").val($("#target option:first").val()); // change target to select ID you want