What is JavaScript's?
JavaScript is a dynamic computer programming language. It is lightweight and most commonly used as a part of web pages, whose implementations allow client-side script to interact with the user and make dynamic pages. It is an interpreted programming language with object-oriented capabilities.
Types of JavaScript:
1) Internal JavaScript : Internal JavaScript is written into a HTML file using <scripts></scripts> tags.
2) External JavaScript : External JavaScript is written into a .js file which is created into another file location and link with HTML file.
What is AJAX?
AJAX stand for Asynchronous JavaScript and XML. AJAX is a new technique for creating better, faster, and more interactive web applications with the help of XML, HTML, CSS and Java Script.
Why to use AJAX?
1) Update a web page without reloading the page
2) Request data from a server - after the page has loaded
3) Receive data from a server - after the page has loaded
4) Send data to a sever - in the background