I had problem using admin-ajax.php while creating one plugin. I had problem using "add_action( 'wp_ajax_ajax_action', 'ajax_action_stuff' )" in my plugin where i have used oop module. So I want to go with jquery native way like below :
$.ajax({
url: "test.html",
context: document.body,
success: function(){
$(this).addClass("done");
}
});
Wordpress recommend to use admin-ajax.php for handeling ajax request. Is there any specific reason. Will i encounter any problem if go with native jquery ajax way.