Jq 清空页面上用户添加的TextBox里的内容

<script>
$(document).ready(function () {

$("#Button1").click(function () {

$(":text").each(function () {

$(this).val("");

});

});

});



</script>

posted @ 2012-12-25 15:04  消沉  阅读(237)  评论(0编辑  收藏  举报