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(





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








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 :


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