select
$("#class").find("option[value=‘123‘]").attr("selected",true);
radio
$("input[name=myname]:eq(0)").attr("checked",‘checked‘);
时间: 2024-10-12 19:28:53
select
$("#class").find("option[value=‘123‘]").attr("selected",true);
radio
$("input[name=myname]:eq(0)").attr("checked",‘checked‘);