1. Text boxes, radio buttons, check boxes, related operations
Or set the default selection for the radio button:
$("input[name='sex']").each(function(){
if($(this).val()= =s){
$(this).attr("checked", true); 🎜>
Jquery sets the default selected item in the drop-down list (select) based on the value value