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>

 

posted @ 2009-11-09 14:37  瞭望者  阅读(591)  评论(0编辑  收藏  举报