php - Yii CCaptcha "Get New Code" doesn't show -


i have view uses renderpartial:

$this->renderpartial('mybankinfo', array('userentity'=>$userentity, 'useraccount'=>$useraccount, 'bonuspaymentmethodlist'=>$bonuspaymentmethodlist, 'modelcaptcha'=>$modelcaptcha) ,false,true); 

here's captcha code in view:

<?php $this->widget('ccaptcha',array('clickableimage' => true));  ?> 

it works when using render not when im rendering in partial.

there doesn't seem error on console, when clicked on image, refresh function called image isn't refresh nor "get new code" link appears.

however when refresh page, image refreshed (if clicked on in once).

is there particular js need reload? i've set process true though.


Popular posts from this blog

node.js - How do I prevent MongoDB replica set from querying the primary? -

c# - Randomly pick a specific int from a 2D Array -

php - Angularjs http.delete is not working after deploying project on server -