I've recently stumbled across a major problem which has brought the
development of my application to a complete stand still.

Basically, the way the application has been working up until now, is a
view would be loaded into a div tag via AJAX. This view would contain
an AJAX form which when submitted updates a status div with the
returned AJAX content. This was working fine until a few days ago when
it just simply stopped working.

The views still load via AJAX ($ajax->link) but the submission of the
forms via AJAX does not work.

I've used the Web Inspector tool in Safari to inspect the HTML view
being returned by the $ajax->link and the appropriate JavaScript is
there, however when loaded into the page, the JavaScript is stripped.
I thought it may be something to do with prototype's evalScripts
stripping the JavaScript from the returned view, however even when I
turn it off, the JavaScript isn't included.

The strangest part of the whole puzzle is that I've literally done
nothing that I can think of that would universally stop all forms from
working. I could understand if it wasn't working for a single form -
but not all of them simultaneously.

Anyone got any ideas, because I'm totally stumped.

Thanks,
Rory

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to