Discussioni » Sviluppo

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

§
Pubblicato: 25/10/2015
Modificato: 25/10/2015

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
§
Pubblicato: 25/10/2015
Modificato: 25/10/2015

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

§
Pubblicato: 25/10/2015
Modificato: 25/10/2015

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.

Pubblica risposta

Accedi per pubblicare una risposta.