Wednesday, July 26, 2017

GIVE AN example loads the content of the element with id.

The following example loads the content of the element with id="p1", inside the file "demo_test.txt", into a specific <div> element:

Example

$("#div1").load("demo_test.txt #p1");