How To Make Condition Of Textfield Based Data Response Json On Other Textfield?

Hi all,

I hope find solution for get data response json in other textfield. So this data could be condition for readonly or not in otherfield.

I have textfield like this :


<?php echo $form->textFieldControlGroup($model,'ACC_CODE',array('span'=>10,'maxlength'=>20,'autocomplete'=>'off','help'=>'Batas Kode 20 karakter',

            'ajax' => array(

                    'type'=>'POST',

                    'url'=>CController::createUrl('OpenReadOnlySatu'),

                    'data'=>array('code_acc'=>'js:this.value'),

                    'dataType'=>'json',

                    'success'=>'js:function(data) { 

                        $("#Accoumdb_ACC_UMUM").val(data.umumu);

                        $("#Accoumdb_ACC_LEVL").val(data.levelu);                        

                        $("#Accoumdb_ACC_NAME").val(data.nameu);

                    }',

            )

        )); 

        ?>

I want to do other textfield, can be readonly or not based data from id = #Accoumdb_ACC_LEVL.

debug response with firebug show like this :

{"umumu":"","levelu":1,"nameu":""}

I want to use and var_dump levelu.? But how to show??