xmlhttp.open = $.post

Changed xmlhttp.open to jQuery $.post for better usability