ajax
AJAX Filter for WordPress Categories without Plugin
AJAX request from MySQL database
AJAX – Submit data with POST request into a MySQL database
AJAX request – JSON from external API (Breaking Bad)
View Demo
In this post I’m going to show You, how to use AJAX to fetch data from an external API asyncronously behind the scenes and put it into our website.
We pull the data from https://breakingbadapi.com
HTML
JavaScript
SCSS
AJAX request – JSON local file
Request single JSON data
Request array JSON data
AJAX request – TXT file
With Ajax You can receive data asynchronously without page reload.
Method 1 – onload function
Method 2 – readystate function