top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the use of jQuery load method?

0 votes
397 views
What is the use of jQuery load method?
posted Aug 11, 2017 by Ganesh S

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes
  1. $.load() method allows HTML or text content to be loaded from a server and added into a DOM element.

Syntax:

$.post(url,[data],[callback])

2. Specify selector with url to specify a portion of the response document to be inserted into DOM element.

 $('#msgDiv').load('/demo.html #myHtmlContent');
answer Aug 14, 2017 by Manikandan J
Similar Questions
+1 vote

Please tell me the use for below function.I did't use this function before.

$("#id").load(function(e) {

});

+1 vote

Also tell me how to use this noConflict() method.

0 votes

Please help any one with some basic examples.Am new to j query.

...