Computer Science, asked by sahilnirwan1298, 11 months ago

How to load external HTML into a using jQuery?

Answers

Answered by Axelsen1597
0

Answer:

To load external HTML into a <div>, wrap your code inside the load() function. To load a page in div in jQuery, use the load() method. Firstly, add the web page you want to add.

Explanation:

Here’s the code for new.html:

<html>

<head>    

</head>

<body>

<p>This is demo text.<p>

</body>

</html>

Similar questions