Hi all,
I use jQuery with Zend_Form to create tabbed forms (with the help of
ZendX_JQuery). The rendering happens because of the
ZendX_JQuery_View_Helper_JQuery_Container::addOnLoad(). At the head of the
html file some javascript occurs inside a$(document).ready().

During an AJAX request, the layout isn't rendered and only your
script.ajax.phtml returns to the broweser. No <head>, so no tabbed forms. I
tried to use the jQuery view helper inside my view script to echo the
scripts, but they still appear inside a $(document).ready(). This event
already passed so the scripts won't run.

Any idea how to solve this problem? Many things in my application are loaded
at $(document).ready() because of performance reasons, but now I need to
distinguish AJAX and non-AJAX contexts.

Regards, Jurian

Reply via email to