Reputation: 153
I am converting frames to div. I am using jQuery's load()
for this but it is giving me an error which I am not able to solve. Below is the code which I am getting the error. Please help.
$('#abc').load('https://www.google.co.in/');
#abc {
width: 300px;
height: 300px;
border: 1px solid red;
overflow: auto;
}
<div id="abc"></div>
Upvotes: 2
Views: 79
Reputation: 1667
You can load file of same domain.Cross domain loading is not possible.
Upvotes: 1