--%>

Difference between JavaScript and AJAX

Write basic difference between JavaScript and AJAX ?

E

Expert

Verified

The difference between JavaScript and AJAX are shown below:

1. AJAX does not need the page to refresh for downloading complete page whereas JavaScript administer and controls the Web page after being downloaded.

2. AJAX minimizes overload on server since script requires to request once whereas JavaScript posts request which updates script every time.

3. AJAX sends request to server and does not wait for response. It executes other operations on a page at that time. JavaScript make request to a server and waits for the response.

   Related Questions in Programming Languages

  • Q : Define the term Top level class Define

    Define the term Top level class: It is a class defined either at outermost level of a package or the static nested class.

  • Q : What is an Arithmetic expression

    Arithmetic expression: It is an expression comprising numerical values of integer or floating point kinds. For example, operators like +, -, *, / and % get arithmetic expressions as their operands and generate arithmetic values as their outcomes.

  • Q : Cmp and diff commands Explain the

    Explain the difference between” cmp” and “diff” commands?

  • Q : What is an Exception Exception : An

    Exception: An object symbolizing the occurrence of an exceptional circumstance - usually, something which has gone wrong in the smooth running of a program. Exception objects are made from classes which expand the Throwable class.

  • Q : Write a program that prints out all

    Write a program that prints out all prime numbers between 1 and 1000. Print the values out ten per line, with digits lined in proper columns.

  • Q : Explain the relationship between XHTML

    Explain the relationship between XHTML and the Web?

  • Q : Define the term Multiprogramming system

    Define the term Multiprogramming system: It is an operating system which is able to run multiple programs parallel.

  • Q : Define Passing by value Passing by

    Passing by value: In this process separate memory builds for formal arguments and when any modifications done on formal variables, it will not influence the real variables. Therefore actual variables are preserved in this situation.

  • Q : How authorities save their Private Keys

    How do certifying authorities save their Private Keys?

  • Q : What is Concurrency Concurrency : This

    Concurrency: This is a feature of parallel programming. The parts of a program whose executions overlap in time are stated to execute concurrently. Java's thread characteristic support concurrency.