What I've got is a simple view (plain HTML) with a <SCRIPT SRC="...">
call that fails.
On 5 Maj, 14:22, validkeys <[EMAIL PROTECTED]> wrote:
> if i am understanding your problem correctly, ajax, by itself, will
> read in your embedded javascript as a string and therefore does not
> recognize it as output. Many of the ajax frameworks (mootools,
> prototype) have an additional condition that you can place in your
> ajax calls to execute embedded javascript during the ajax call.
>
> On May 5, 7:19 am, Bartek Muracki <[EMAIL PROTECTED]> wrote:
>
> > Hi guys,
>
> > I've stumbled upon a stupid problem with loading an external
> > Javascript file from within the AJAX view. Is this a desired behavior
> > of a framework, as it could mess things up? What I'm trying to achieve
> > is an AJAX form that should fire up Google conversion tracker script
> > when it's been submitted and user is presented the "thank you" screen.
>
> > The view is being loaded with $this->render('thank_you','ajax') from
> > the controller.
>
> > Any idea how to fix this one?
>
> > Best,
> > Bartek
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---