js点击页面内表单重置

<div class="apply_box_three">
        <div>提交</div>
        <div class="apply_box_three_right">重置</div>
</div>
 
 
 
<script>
    $(".apply_box_three_right").off().on('click',function(){
        $("input").val('');
        $("textarea").val('');
    })
   
</script>
posted @ 2022-06-18 16:50  宅女二二  阅读(107)  评论(0)    收藏  举报