jQuery AJAX with JSON. Sample of how to use AJAX with jQuery. $('document').ready(function(){ $('#submit).click(function(){ $.post('your_php_page.php', {employee_id: '456'}, function(data){ console.log(data.first_name); console.log(data.last_name); }, 'json'); }) }); Tweet Share Share Share Share Sign up here with your email