$(document).ready(function () {
var j = jQuery.noConflict();
j('.refresh').click(refreshDiv);
j('.refresh').css({
color: ""
});
function refreshDiv() {
j.ajax({
url: "refresh.php",
cache: true,
success: function (html) {
j(".refresh").html(html);
}
});
}
});
echo time(); ?> it displays time in seconds which is huge in numbers .I want to display the number of times I am refreshing the page like you have refreshed 5 times similar way.
Aucun commentaire:
Enregistrer un commentaire