wamp集成环境
按照官网上例子完全抄下来测试,还是不能ajaxform
<form id="myForm" action="comment.php" method="post">    
 Name: <input type="text" name="name" />     
Comment: <textarea name="comment"></textarea>     
<input type="submit" value="Submit Comment" /> 
</form>
<head>     
<script type="text/javascript" src="path/to/jquery.js"></script>     
<script type="text/javascript" src="path/to/form.js"></script>      
<script type="text/javascript">         // wait for the DOM to be loaded         
$(document).ready(function() {             // bind 'myForm' and provide a simple callback          
$('#myForm').ajaxForm(function() {                 
alert("Thank you for your comment!");             
});         
});     </script> </head>