reset求问?
那这样写可以吗?可是运行不出来,语法好像也没有错误吧
<style type="text/css">
.k{
height:400px;
width:600px;
border:#333 solid 1px;
padding:5px;
}
</style>
function reset()
{
var b=confirm("Are you sure to reset?");
if(b==true)
{
var a=document.getElementById("txt");
}}