Editor Arrow Download Open
<!DOCTYPE html> <html> <head> <title>jQuery get() method</title> <script src="jquery-latest.min.js"></script> <script> $(document).ready(function(){ $("button").click(function(){ $.get("get_method.php", {name: "Paul"}, function(data){ $('#msg').html(data); }); }); }); </script> </head> <body> <div id="msg">This text replace with new contains</div> <br /> <button>Click here to call get() method</button> </body> </html>
  Preview Arrow