Passing form data via AJAX to REST API And displaying results
I got everything working but it may not be the most elegant of solutions. I put the form text as well as the empty results div on a page. I created a small plugin that checks to see if we are on that page. If so, insert the JavaScript into the footer. Otherwise, do nothing. … Read more