Originally I hacked together Agile Carousel and WordPress by passing wp-load.php into the AJAX script but clearly that isn't the way to go. I've now read that wp-admin/admin-ajax.php is better, but I can't yet trigger the add_action('wp_ajax_nopriv_...') method.
How can I find out what the action value is? Without knowing this, what other ways can I trigger a method that has access to all of WordPress' variables/functions?
$.getJSON("AJAX-URL", function(data) {– MechEngineer May 3 '12 at 15:42