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
Domenico Tenace -
Teo Nordic -
Guillaume Sere -
Aral Roca -
Top comments (0)