Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
  • AJAX in javascript

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 48
    Comment on it

    AJAX means Asynchronous JavaScript and XML and it is a group of inter-related technologies like javascript, dom, xml etc.
    AJAX is used to make site or page more interactive and fast.
    without reloading the web page, you can send and receive data asynchronously
    we can create fast and dynamic web pages by using AJAX.


    <!DOCTYPE html>
    <div id="demo"><h2>Let AJAX change this text</h2></div>
    <button type="button" onclick="Done()">Change Content</button>
    function  Done() {
      var xhttp = new XMLHttpRequest();
      xhttp.onreadystatechange = function() {
        if (xhttp.readyState == 4 && xhttp.status == 200) {
          document.getElementById("demo").innerHTML = xhttp.responseText;
      }"GET", "ajax&#95;info.txt", true);

 0 Comment(s)

Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: