ajax initial post on page load and then on change code example
Example: ajax run function after page load
$(document).ready(function() {
// Code to run as soon as the page is ready
})
$(document).ready(function() {
// Code to run as soon as the page is ready
})