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
Anwar Hossain -
ramadhan.dev -
Lucas Pereira de Souza -
Hossein Yazdi -
Top comments (0)