$("#class").change(function(){
var StudentClass = $(this).val();
//alert(StudentClass);
$.ajax({
url: "getStudentClass.php",
type: "post",
data: 'StudentClass'=StudentClass,
success: function(data){
alert(data);
},
error:function(){
alert("failure");
$("#result").html('there is error while submit');
}
});
});
上記のコードは、このエラー無効な割り当ての左側を教えてくれます
[Break On This Error]
data: 'StudentClass'=StudentClass,
midterm_test.php (line 28, col 24)
これが起こっているという考えを持っている人なら誰でも