Disable or enable a dropdown list di GroceryCrud CI

I wanted to create a disable / enable a dropdown list depending on whether a radio button is checked Is there an easy way to do that ? //it's controller's code $crud = new grocery_CRUD(); $crud->set_table('videos'); $crud->set_relation('videos_parent','videos_groups','title'); // field "check" is checkbox which will show/hide dropdown $f=array('check','videos_parent','file_name','videos_title'); $crud->add_fields($f); $crud->edit_fields($f); $crud->callback_edit_field('check',array($this,'callback_check')); $output = $crud->render(); the callback […]