Hello Everyone,

I have a view that uses $ajax->link() to update a div within my layout.
This works fine. However, the ajax layout that I return from the server
also contains $ajax->link's which are not working. I think I traced
this to the Prototype library's update function's following line...

$(element).innerHTML = html.stripScripts();

The links are returned with the html between the <a></a> tags but the
following javascript event is stripped by Prototype. So, I end up with
a link that has 'return false;' and no accompanying Observer.

Does anyone know how to get around this? Am I missing an option or
something?

I really appreciate any help that the community could provide. CakePHP
rocks.

Jason


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to