It is not jQuery loadthat the problem basically works: Real-time example This code uses this code:
$("#target").load("http://jsbin.com/oqefe4");
To download this file:
<p>Test</p>
<script src='http://jsbin.com/ewexi4'></script>
... which refers to this:
alert("Hello");
( , , .)
, . , , . , , , .
. . HTML , script ( img ..) HTML current . 404 , , , . by @Darth___ ( , ), ... (): DarthJDG, . , .)
, ,
http://example.com/foo/maindocument.html
load listEntry/listEntryIndex.html openEntry/openEntryIndex.html, :
http://example.com/foo/listEntry/listEntryIndex.html
http://example.com/foo/openEntry/openEntryIndex.html
HTML script, , listEntryIndex.js, maindocument.html, listEntryIndex.html , :
http://example.com/foo/listEntryIndex.js
http://example.com/foo/listEntry/listEntryIndex.js