İyi günler. Wall Script yazıyorum.
Formu post ettiğimde sayfa yenilenmesin diye append ile yazdıracağım fakat yazdırmıyor.
Tarayıcıdan Çağrılan Dosyalara baktığımda ajax.php içerisinde ekrana yazdırmış.
View Source'de herhangi bir JS hatası yok
<script type="text/javascript">
function sharePost(){
$.ajax({
type: "POST",
url: URL + "/ajax.php",
data: $('form#shareForm').serialize(),
success: function(x){
if(x == 0){
$.msgBox({
title: "Uyarı",
content: "Lütfen Form'u Boş Bırakmayınız!",
});
}else if(x == 1){
$('div#kapsa').html(x).slideDown('slow');
}else if(x == 2){
$.msgBox({
title: "Uyarı",
content: "Bir Hata Oluştu!",
});
}
},
error: function(x) {
$.msgBox({
type: "error",
title: "Uyarı",
content: "Share Formu / Sistemde Hata Oluştu.",
});
}
});
}
</script>Sorun bu kısımda :
else if(x == 1){
$('div#kapsa').html(x).slideDown('slow');
}