Функция запуска AJAX после загрузки страницы
$(document).ready(function() {
// Code to run as soon as the page is ready
})
Tomas Maillo
$(document).ready(function() {
// Code to run as soon as the page is ready
})