<div class="codetitle"> <span><a style="CURSOR: pointer" data="97468" class="copybut" id="copybut97468" onclick="doCopy('code97468')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code97468"> <br>$.ajax({ <br>type: "POST", <br>url: url, <br><span style="COLOR: #ff0000">data: $('#form1').serialize(),</span> <br>success: function(msg){ <br>alert( "Data Saved: " msg ); <br>} <br>}); <br> </div>