jquery ajax introduction

Solutions on MaxInterview for jquery ajax introduction by the best coders in the world

showing results for - "jquery ajax introduction"
Melanie
21 Aug 2017
1<!DOCTYPE html>
2<html>
3<head>
4<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
5<script>
6$(document).ready(function(){
7  $("button").click(function(){
8    $("#div1").load("demo_test.txt");
9  });
10});
11</script>
12</head>
13<body>
14
15<div id="div1"><h2>Let jQuery AJAX Change This Text</h2></div>
16
17<button>Get External Content</button>
18
19</body>
20</html>
21