[HTML_AJAX-devel] control execution order of server response?
Mathias Grub
mathias.grub at web.de
Tue Dec 5 07:32:23 PST 2006
Hi,
if I use
HTML_AJAX.call()
or
HTML_AJAX_Util.setInnerHTML(ObjectHtml, HTML_AJAX.call( ...
and the server responses a string containing both, html-code and
javascript code,
the javascript code is evaluated and executed automatically.
Is there a way to control this behaviour?
Is there a way to set an execution order, e.g. to have the html blocks
and javascript blocks to be executed / returned
exact in the same order as they appear in the string, or do they behave
exactly this way?
Is there a possibility to have an Array() as the return value of
HTML_AJAX.call() which stores all html and javascript blocks in the
desired order, but none of the blocks is executed automatically already?
At the end, I need to return html- and javascript code from the server
which must not be eveluated automatically.
How do I achieve this / which mehtod to use?
Thank you for your answer,
Mathias
More information about the Html_ajax-devel
mailing list