Currently browsing AJAX and Fetching Data

Monday, May 16, 2022

Convert jQuery.get() to Vanilla JavaScript

In the latest iteration of my YouTube Playlist Player plugin, I decided to remove all jQuery dependencies. I replaced the…

Monday, May 16, 2022

How to replace jQuery.ajax() with vanilla JavaScript in WordPress

In an effort to remove all jQuery dependency from one of my plugins, I decided to turn all jQuery.ajax() requests…

Tuesday, May 10, 2022

Same-Origin AJAX Request Using Vanilla JavaScript

This JavaScript function will send an AJAX request - GET or POST - with no third-party dependencies. I find it…