typeerror: $ .ajax не является функцией. < /p>
< /blockquote>
В одном и том же проекте на другой странице Ajax Function Fun Plain Pafl Work. Страницы с тем же заголовком: < /p>
Код: Выделить всё
singup
Login
$('#loginBtn').click(function(){
$.ajax({
type:"POST",
url:"registration.php",
data:$('#regForm').serialize(),
success:function(result){
if(result == 1){
window.location.assign("../Pages/page1.php");
}else{
$('#regAlert').html(result).show();
}
}
})
})
$('#singUpBtn').click(function(){
$.ajax({
type:"POST",
url:"registration.php",
data:$('#singUpForm').serialize(),
success:function(result){
if(result == 1){
window.location.assign("../Pages/page1.php");
}else{
$('#singUpAlert').html(result).show();
}
}
})
})
})
Что я делаю не так?>
Подробнее здесь: https://stackoverflow.com/questions/511 ... in-another
Мобильная версия