Connect Agile Carousel to WordPress AJAX

After some digging, I decided to try a hunch and it ended up working. Whether this is the sanctioned solution or not, but it has worked in my testing.

For the AJAX url, add the $_GET variable ?action=[ajax_action] where [ajax_action] is your requested action. (ie. http://www.example.com/wp-admin/admin-ajax.php?action=[ajax_action])

Then make add_action('wp_ajax_nopriv_...') include your action variable, ie. add_action('wp_ajax_nopriv_[ajax_action]', 'ajax_callback') and to make sure it works for logged in users, include add_action('wp_ajax_[ajax_action]', 'ajax_callback') as well.

I imagine that a similar solution would work for more generalized AJAX requests.