How to load external HTML into a using jQuery?
Answers
Answered by
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
Geography,
6 months ago
Geography,
6 months ago
Math,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Biology,
1 year ago