Discussions » Développement

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

§
Posté le: 2015-10-25
Édité le: 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.

woxxomMod
§
Posté le: 2015-10-25
Édité le: 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.

§
Posté le: 2015-10-25
Édité le: 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.

Poster une réponse

Connectez-vous pour poster une réponse.