Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

ajax

What is AJAX?

Sarvech Qadir

AJAXAsynchronous JavaScript And XML is a set of web development techniques that use many web technologies on the client-side to create asynchronous web applications. With Ajax, web applications can asynchronously send and retrieve data from a server without interfering with the existing page’s display and behavior. It is not a programming language and it requires a built-in browser with a XMLHttpRequest object that requests data from the server. It also uses JavaScript and HTML DOM to display data.

Google APIs

Google APIs contain many google hosted libraries. This is a widely available global content distribution network for the most commonly used JavaScript libraries.

Google Libraries

To load a hosted library, copy and paste the HTML snippet for that library (shown below) on your web page. For instance, to load jQuery, embed the <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> snippet in your web page.

Load libraries from the CDN via HTTPs to make sure performance using caches is not compromised.

Let’s look at some examples:

D3.js

<script src="https://ajax.googleapis.com/ajax/libs/d3js/6.1.1/d3.min.js"></script>

Click here to visit the official site

Dojo

src="https://ajax.googleapis.com/ajax/libs/dojo/1.13.0/dojo/dojo.js"></script>

Click here to visit the official site

jQuery

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

Click here to visit the official site

RELATED TAGS

ajax

CONTRIBUTOR

Sarvech Qadir
Copyright ©2022 Educative, Inc. All rights reserved
RELATED COURSES

View all Courses

Keep Exploring