+ Reply to Thread
Results 1 to 5 of 5

Thread: What are the differences between AJAX and JavaScript?

  1. #1

  2. #2
    HWHT Starter ademar is on a distinguished road
    Join Date
    Jun 2017
    Location
    Delhi
    Posts
    11
    First of all, Ajax is only a way to communicate dynamically with a server. Nothing else. Anyone who thinks an effect on a page is Ajax is wrong.

    Then, Ajax, it's not a language, it's the implementation of the XMLHttp Request JavaScript object. This object will then make an HTTP request to the server, often to a script on the server (a PHP script for example) so it is better to know a server language to optimize Ajax, but it is quite possible to recover the content a simple text file for example.
    Finally, the only mandatory element to perform Ajax processing is JavaScript, without which it is impossible to create the query, all the rest are just refinements (server language, XML, JSON ...)

  3. #3
    Hosting Master ServersBase is on a distinguished road
    Join Date
    Dec 2018
    Location
    Asia
    Posts
    110
    The main difference is that JavaScript is client-side, i.e., in the browser scripting language.
    Meanwhile, AJAX is a method to immediately update parts of the UI without reloading the web pages.

  4. #4
    Hosting Master Petersehene is on a distinguished road
    Join Date
    Aug 2017
    Location
    South Africa
    Posts
    127
    Ajax is a client-side script that communicates to and from a server/database without the need for a postback or a complete page refresh. The best definition I've read for Ajax is “the method of exchanging data with a server, and updating parts of a web page – without reloading the entire page.”

  5. #5
    Hosting Master Gaurav Joshi is on a distinguished road
    Join Date
    Mar 2019
    Location
    Mumbai
    Posts
    104
    jQuery is a JavaScript library which can ease cross browser coding. Ajax stands for Asynchronous JavaScript and XML and is a way to load data from a service or webpage without blocking the user interface while getting the data. jQuery has Ajax helper functions which use the native browser XMLHttpRequest.

+ Reply to Thread

Similar Threads

  1. What are the new features of ASP.NET AJAX 4.0?
    By ajaxdns in forum Web Design and Content
    Replies: 1
    Last Post: 04-26-2019, 10:27 AM
  2. What's AJAX ?
    By sunled in forum Programming Discussion
    Replies: 1
    Last Post: 08-23-2018, 03:57 AM
  3. Should I consider AJAX?
    By sunled in forum Programming Discussion
    Replies: 0
    Last Post: 07-27-2018, 04:43 AM
  4. Whos Using Ajax ?
    By sunled in forum Programming Discussion
    Replies: 0
    Last Post: 07-27-2018, 04:42 AM
  5. What is Ajax in ASP.NET?
    By sunled in forum Programming Discussion
    Replies: 0
    Last Post: 06-06-2018, 09:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts