Request.HTML has the onSuccess callback that should give you access to the
Javascript,

onSuccess(responseTree, responseElements, responseHTML, responseJavaScript)

http://mootools.net/docs/Request/Request.HTML

Jeremy Bueler
www.jbueler.com


On Thu, Oct 30, 2008 at 10:00 AM, supert3d <[EMAIL PROTECTED]> wrote:

>
> Basically I'm doing a new Request.HTML to get a response back from a
> dynamic PHP page.
>
> Trouble is the requested page ALSO contains Javascript amongst HTML
> tags, which is totally screwing up the AJAX request. Removing the
> Javascript allows the AJAX request to complete as expected
> and .adopt(myHTML)
>
> Any ideas how I can transport the Javascript too ?

Reply via email to