From 60ae1845cbcb0aa6dc6a6d3a6d3aaa3aaa0ac4b5 Mon Sep 17 00:00:00 2001 From: mariannebunyi <44557095+mariannebunyi@users.noreply.github.com> Date: Wed, 26 Jun 2019 03:59:46 +0800 Subject: [PATCH] added jQuery load() Method (#31453) --- .../jquery/jquery-ajax-load-method/index.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 guide/english/jquery/jquery-ajax-load-method/index.md diff --git a/guide/english/jquery/jquery-ajax-load-method/index.md b/guide/english/jquery/jquery-ajax-load-method/index.md new file mode 100644 index 0000000000..04b4d2b1b2 --- /dev/null +++ b/guide/english/jquery/jquery-ajax-load-method/index.md @@ -0,0 +1,17 @@ +--- +title: jQuery load() Method +--- + +## jQuery load() Method + +The load() method loads data from a server and puts the returned data into the selected element. + +**Note:** There is also a jQuery Event method called load. Which one is called, depends on the parameters. + +### Example +```javascript +$("button").click(function(){ + $("#div1").load("demo_test.txt"); +}); +``` +