// 重置
// 文本框
$('.form :text').each((index, input) => {
$(option).prop('value', input.defaultValue)
})
// 选项框
$('.form option').each((index, option) => {
$(option).prop('selected', option.defaultSelected)
})
// 单选框
$('.form :radio').each((index, radio) => {
$(radio).prop('checked', radio.defaultChecked)
})
jq 选择器