ajax in front side in wordpress | naveenOS https://www.naveenos.com How may I help you - E-Commerce | Full-Stack Developer Thu, 26 Aug 2010 09:59:54 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 WordPress: How to use Ajax at front side without using admin-ajax.php https://www.naveenos.com/2010/08/wordpress-how-to-use-ajax-at-front-side-without-using-admin-ajax-php https://www.naveenos.com/2010/08/wordpress-how-to-use-ajax-at-front-side-without-using-admin-ajax-php#comments Thu, 26 Aug 2010 09:59:54 +0000 http://naveenos.com/?p=229 Mostly all wordpress developers write the code to create widgets in admin side. and he use following code: var ajaxurl =''; var data = { action: 'action_function_name' }; // since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php jQuery.post(ajaxurl, data, function(response) { alert(response); }); But when he wants to use […]

The post WordPress: How to use Ajax at front side without using admin-ajax.php first appeared on naveenOS.]]>
https://www.naveenos.com/2010/08/wordpress-how-to-use-ajax-at-front-side-without-using-admin-ajax-php/feed 16