2024/4/6

The-rich發表於2024-06-19
頁面點選事件的非同步請求問題
$(document).ready(function() { $("#line111").click(function () { var inputData = $("#line2").val(); $.ajax({ url: "function2", type: "POST", data: {linename: inputData}, success: function (response) { $("#passStation").text(response); } }); }); });

相關文章