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
English,
6 months ago
Biology,
6 months ago
Computer Science,
11 months ago
Computer Science,
11 months ago
Biology,
1 year ago