What is the use of jquery load() method?

ANS :- The jQuery load() method is a powerful AJAX method.
 The load() method loads data from a server and puts the returned data into the selected element without reload the complate page.
 Ex:The following example loads the content of the file "demo_test.txt" into a specific <div> element
$("#div1").load("demo_test.txt"); 

No comments:

Post a Comment