Ajax request, javascript widget & partial render

if I use ajax button (& ajax response), js code (at the end of body) not generated

Please check the signature of renderPartial. The last parameter should be true.



renderPartial($view,$data=null,$return=false,$processOutput=false)


Thx, great!

But… one more problem… code for jquery initialization presents in ajax response (CHtml.php, 1427)