answersLogoWhite

0

What are the differences between JavaScript and Ajax?

Updated: 8/16/2019
User Avatar

Wiki User

12y ago

Best Answer

Javascript is a scripting language used to program various actions to be executed by the web browser. It can be used for more than just AJAX.

AJAX involves using Javascript and other client-side and server-side technologies to provide seamless user experience, such as some element of the page being updated without entire page being reloaded from the server.

AnswerAJAX is a part of Javascript programming. Javascript is just a client-side scripting language that is used to control a web page once a user has downloaded the page. AJAX is a particular usage of Javascript in which javascript communicates with the remote script and receives the response from the server, without having to reload the whole page. AnswerJavascript is a client-side scripting programming language... AJAX is a technique incorporating the use of Javascript, a server-side scripting language, and XML. But javascript is the main core of ajax-based systems. AJAX stands for Asynchronous Javascript and XML. AnswerAJAX :

Ajax is the acronym for Asynchronous JavaScript and XML. It incorporates a suite of technologies aimed at improving user experience with web pages. It also allows programs written in different programming languages on different browsers to communicate with each other. Translation, communication and function between web applications happens remotely and, ideally, instantaneously. Another primary aim of Ajax is to reduce user delay when interacting with web pages. Ajax frameworks and technological components allow web applications to function on an as-need basis without requiring the re-loading of the entire web page.

JavaScript:

Javascript, on the other hand, is a client side scripting language that allows the creation of dynamic web pages providing a new level of interactivity. The advantage of JavaScript is that since it's a client side application, it can create dynamic web pages that are more complex than what a server side script can do. Server side scripts are run by the host machine and thus, has very limited resources especially when there are a lot of people accessing that server. Being on the client computer, Javascript has a lot of resources to play regardless of the activity on the server.

The prime drawback of Javascript is that it is a very good candidate for a Trojan to be installed into your computer. Because it runs on the client, it is authorized some resources that could potentially give control of your computer to an outsider, potentially getting you included in a botnet. The remedy to this drawback is by not allowing untrusted javascript codes from being run on your computer.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the differences between JavaScript and Ajax?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What does Ajax use for the processing that is done on the browser?

Javascript. AJAX stands for Asymmetric Javascript And XML


What is the meaning of the name Ajax?

AJAX stands for Asynchronous JavaScript and XML.


How do you use javascript in aspnet?

Ajax, I believe uses JavaScript + ASP.


Which is better java or Ajax?

you mean JavaApplet or Ajax? I do not think you can compare java as a whole and AJAX. Ajax is a simple implementation of JAvascript .


Is javascript has facilities for communicating between web browser and http server?

Yes JavaScript can communicate with HTTP Server. It can hit Ajax request to request content from server.


What programming language was Gmail developed in?

Html, javascript, ajax


Can you add Ajax requests in Ajax server page?

If you add javascript to the server page then it is possible. But it would be bad programming practise. Ideally the ajax requests should be on an external javascript file and that should be referenced by a client side page.


What does acronym Ajax stand for?

AJAX is shorthand for Asynchronous JavaScript and XML (Extensible markup language). Ajax allows continued interaction with the server while not requiring a page to be manually refreshed to display new data.


What do Google APIs use for scripting?

Google APIs use Javascript for scripting everything which allows there to be an interaction between different services connected to Google. They also use AJAX scripting as well as Javascript.


What is the default serialization used for ASPNet Ajax calls?

JavaScript Object Notation


What is the difference between javascript and java language?

JavaScript and Java are two different programming languages. Java is a server-side, statically typed language. JavaScript is a mostly client-side, dynamically typed language. Java supports heavy back end computations while JavaScript enables interactive AJAX ones.


What has the author Nicholas C Zakas written?

Nicholas C. Zakas has written: 'Professional JavaScript for Web developers' -- subject(s): Web site development, JavaScript (Computer program language), OverDrive, Computer Technology, Nonfiction 'Javascript Para Desarrolladores Web/javascript for Web Development (Anaya Multimedia)' 'Professional Ajax' -- subject(s): World Wide Web, JavaScript (Computer program language), Asynchronous transfer mode, Web sites, Ajax (Web site development technology), Design, Computer programs, Authoring programs, OverDrive, Computer Technology, Nonfiction 'Maintainable JavaScript' 'JavaScript and Ajax Wrox Box'