找了一下午的成果!!!!!!!!
$(
':input'
,
'#myform'
)
.not(
':button, :submit, :reset, :hidden'
)
.val(
''
)
.removeAttr(
'checked'
)
.removeAttr(
'selected'
);
$(
':input'
,
'#myform'
)
.not(
':button, :submit, :reset, :hidden'
)
.val(
''
)
.removeAttr(
'checked'
)
.removeAttr(
'selected'
);