There are mostly 3 ways:
$("#target").val("thevalue");
Just make sure the value in the options tags matches the value in the val method.$("#target").val($("#target option:first").val());
$("#target").prop("selectedIndex", 0);
There are mostly 3 ways:
$("#target").val("thevalue");
Just make sure the value in the options tags matches the value in the val method.
$("#target").val($("#target option:first").val());
$("#target").prop("selectedIndex", 0);
For further actions, you may consider blocking this person and/or reporting abuse
Abayomi Olatunji -
heritech9 -
Hassan Azhar -
Ritesh Shukla -
Top comments (0)