AJAX and JSON – With working example using JQuery



AJAX and JSON – With working example using JQuery

AJAX and JSON - With working example using JQuery

In this video I have explained Ajax and Json. And used the concept to make a simple web app. I have used jQuery, Html5 and CSS.
The web app is just a button. Clicking the button makes an AJAX call to the url a fetches the data. The I display five items from the data on each click. Now when the list is completely traversed. It starts from the beginning. Please provide your valuable suggestion in the comment section down below! 🙂

Fake API site: http://jsonplaceholder.typicode.com/
jQuery CDN site: https://code.jquery.com/
Source code: https://github.com/shabbyk/TutorialStuff/blob/master/AjaxCall.html

@ 12:59, code “start gt= data.Length” should be “start == data.Length”. Source code is modified. Thank you!

Comments are closed.