DepDrop and renderPartial

Hi.

I’m trying to render a DepDrop widget by


renderPartial()

. But it seems like it doesn’t want to attach JS code generated by DepDrop. With


render()

everything works fine. How do i fix this? Thank you!

use render ?

I’m rendering it with AJAX, and i have to use renderPartial i think.

Fixed it, just wrote


renderAjax()

instead of


renderPartial()

:lol: