css设置表单提交
<html>
<head>
<style>
form {poorfish: expression(onsubmit=function(){show()})}
</style>
<script>
function show(){
alert("submit");
}
</script>
</head>
<body>
<form name="myform" action="/test">
<input type="submit" value="submit">
</form>
</body>
</html>
<head>
<style>
form {poorfish: expression(onsubmit=function(){show()})}
</style>
<script>
function show(){
alert("submit");
}
</script>
</head>
<body>
<form name="myform" action="/test">
<input type="submit" value="submit">
</form>
</body>
</html>