--%>

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 : Illustrates XML is an important

    Illustrates XML is an important development.

  • Q : Define the term Interprocess

    Define the term Interprocess communication: It is the ability of two or more separate processes to communicate with each other.

  • Q : Define Absolute filename Absolute

    Absolute filename: It is a filename whose full path is unambiguously provided starting from the top (that is, root) of a file system tree. For example: c:\Java\bin\javac.exe

  • Q : Define Race hazard Race hazard : It is

    Race hazard: It is a situation which occurs between multiple threads sharing a resource. The race hazard occurs whenever one thread's suppositions regarding the state of a resource are invalidated by the actions of the other thread.

  • Q : What is Primitive Type Casting

    Primitive Type Casting: C/C++ allows you to cast between totally unrelated types. This can be problematic for model checking. Avoid type casting between unrelated types and in particular primitive types. For example,

    Q : Problem on COBOL if sentence Write a

    Write a COBOL IF sentence to use the values of numeric variables EXAM and COURSEWORK, both assumed to be with format PIC 999 and in the range 0 to 100 and to move the value:“FAIL”, “RC” ( resit coursework), “RE” (r

  • Q : Define Single line comment Single line

    Single line comment: A comment is in the form:     // this line will be avoided by the compiler.

  • 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 : What is Super class Super class: It is

    Super class: It is a class which is extended by one or more sub classes. All Java classes encompass the Object class as a super-class.

  • Q : Homework Assignment How much would it

    How much would it cost to do a basic program within the given requirements?