- <script type="text/javascript">
- //<![CDATA[
- $(document).ready(function(){
- $("#myForm").submit(function(){
- $.ajax({
- type: "POST",
- url: "mypage.php",
- data: "param1=1¶m2=2¶m3=3",
- dataType: "text",
- cache: false,
- success: function(html){
- $("#result").append(html);
- };
- });
- );
- });
- //]]>
- </script>