日期:2014-05-16 浏览次数:20417 次
<!DOCTYPE HTML>
<html>
<head>
<meta charset="gbk" />
<title></title>
</head>
<body>
<form action="?">
<input type="button" onclick="dosomething()" value="click" />
<input type="submit" />
</form>
<script>
function dosomething(){
alert(123)
}
</script>
</body>
</html>