页面刷新不清除text的值
代码如下:
<body>
<input type="text" id="a" value="" />
<input type="button" value="queding" onclick="aa()" />
</body>
<script language="javascript" type="application/javascript">
function aa(){
$("#a").attr("value","ccccccccc");
}
</script>