[jQuery] jQuery.forms javascript in response ignored ?
Hi there!
I do $("").ajaxSubmit(...,mySuccessCallback)
In the sever response I have not only html code but also some
javascript that should be executed.
<div id="main">
<script language=javascript>...</script>
<div id="content">...</div>
</div>
but in the mySuccessCallback function in the 'response' field I get
only html without script. And obviously it's not executed.
<div id="main">
<div id="content">...</div>
</div>
Any ideas how to make it work ?