Tsallaka zuwa abun ciki
Justice Tech School

The load() Method

load fetches HTML from a URL and puts it into the selected element. It can pick a fragment of the response with a selector.

Example
$('#box').load('/partials/news.html #latest');

Exercise

Load into an element.

$('#box').('/page')

Quiz Test

What does load do?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.