What is the way to get feedback titles of iframe onload?
I have already forgotten it,
But in fact I am not useful about it Could not find!
Actually if iframe is on the same domain, you can use your document object With some useful information such as document.referrer , but you can not stop the entire HTTP header without the Ajax request for the URL. This means reallocating the URL. Example:
$ Ajax ({url: $ (# myFrame) .attr ('src'), success: function (r, x) {console.log (x.getResponseHeader ('some header'));}});
This will only work if iframe src is in the same domain as the calling script.
No comments:
Post a Comment