ABZiko
شنبه 23 اسفند 1393, 12:41 عصر
سلام، بنده کد زیر رو نوشتم تا صفحه ام به صورت Ajax بیاد جای محتوی قبلی بشینه، ولی کار نمی کنه :
$(document).ready(function(e){
$("#group").click(function(e){
$.ajax({
url: "Group.html",
dataType: "html",
success: function(data) {
$("body").fadeOut(function() {
$(this).html(data).slideDown();
});
}
});
});
});
$(document).ready(function(e){
$("#group").click(function(e){
$.ajax({
url: "Group.html",
dataType: "html",
success: function(data) {
$("body").fadeOut(function() {
$(this).html(data).slideDown();
});
}
});
});
});