set value for select2 using jquery
- By Preneesh AV --
- 21-Jan-2019 --
- 112 Comments
$item =$(this).closest("tr").find("select:eq(1)");
$item.append(new Option("Label", "value", true, true));
$item.trigger("change");
$item =$(this).closest("tr").find("select:eq(1)");
$item.append(new Option("Label", "value", true, true));
$item.trigger("change");Speaktech | All right Reserved 2018- 2020