Ниже приведен мой первый файл php cat1.php :
Код: Выделить всё
Select :
Model
RAM
< /code>
Это мой код ajax: < /p>
function selectBrand() {
var x = document.getElementById("mobile").value;
$.ajax({
url: "showMobile.php",
method: "POST",
data: {
id: x
},
success: function(data) {
$("#ans").html(data);
}
})
}
Код: Выделить всё
Подробнее здесь: https://stackoverflow.com/questions/797 ... ding-error
Мобильная версия