ok, so I have a page, it uses query_posts to get the latest 4 posts for a particular user, underneath, I have a 'load more' button where, once clicked, I'd like to load 4 more posts.
outside that loop in the same script I have my get_posts function which is some jquery that sends the data I need to admin-ajax.php, and after the function I have my action hooks:
add_action('wp_ajax_myFunction', 'get_posts');
add_action('wp_ajax_nopriv_myFunction', 'get_posts');