討論 » 開發

Get Ajax to return page and run the scripts that come with it on the response.

§
發表於:2015-10-25
編輯:2015-10-25

Get Ajax to return page and run the scripts that come with it on the response.

Hi guys I'd like a little bit of help. I need to grab some objects from an external url using Jquery ajax. Problem is, those objects are normally loaded on to the page by a bunch of scripts.

Is there a way to use ajax so that the response is closer to the resultant DOM of the that url when you visit it normally in the browser (like after the scripts that page uses are called and have finished running)?

Ty in advance.

woxxom管理員
§
發表於:2015-10-25
編輯:2015-10-25

Nope. You'll have to open the other page in a new tab temporarily, which is I guess unacceptable for the purpose.

§
發表於:2015-10-25
編輯:2015-10-25

Welp I guess that or maybe Iframe. Well I do already have a work around that doesn't involve opening new tabs or iframe so meh.

Ty.

發表回覆

登入以回覆

长期地址
遇到问题?请前往 GitHub 提 Issues。