Ajaxを使用する場合、submitを使用することは少ないと思います。 button type="button"を使用することが多いのではないでしょうか。 submit時にAjaxを使用するサンプルソース<form data-abide id="form1"> <input type="text" id="text1"> <button type="submit" id="submit-button">submit</button> </form> <script> $('#form1').submit(function(event) { // ここでsubmitをキャンセルします。 event.preventDefault(); // Ajax処理 $.ajax({ url: 'http://localhost:8080/test', type:'GET', dataType: 'jso
![テックノート – 【jQuery + Ajax】フォームをsubmitした時にAjax送信する方法](https://cdn-ak-scissors.b.st-hatena.com/image/square/33340728aaa56beca2f33dddf1d4ee5173933dba/height=288;version=1;width=512/https%3A%2F%2Fi1.wp.com%2Fjavatechnology.net%2Fwp-content%2Fuploads%2Fajax1.png%3Ffit%3D1000%252C300)