ajax request in wordpress

You can take reference from below code. Remove your ajaxrequest.php file, no need of that file because i have added ajaxrequest.php file’s code in active theme’s functions.php file. I have changed ajax url and add js script code in script.js file. I have tested and it is working for me. let me know if this … Read more