したがって、ページにある他の関数を使用すると、JQuery の $.post を使用して投稿できます。何らかの理由で、この投稿にパラメーターを送信することができません。理由はありますか?
$(".changeStatus").on("click", function changeStatus(){
var permissionName = $(this).parent().children('.permissionName').val();
var empId = $(this).parent().children('.empId').val();
var permissionLevel = Number(($(this).parent().children('.permissionLevel').val())+1);
if(permissionLevel > 3){permissionLevel = 0;}
$.post("humanResourceFunctions.php/",
{
command:"changePermissionStatus"
},
function(data, status){
alert(data);
});
});
前もって感謝します!