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
Prince -
Gaurav D. Lohar -
Kafeel Ahmad (kaf shekh) -
Hamza Khan -
Top comments (0)