<script language="JavaScript" type="text/JavaScript"> $("#param").submit(function(event) { event.preventDefault(); $.post({ url, $("#param").serialize(), data: "xml", success: showParameter } ); });