CheckBox List

Hi,

echo $form->checkBoxList($model,‘fine_print’, CHtml::listData(Fineprint::model()->findAll(array(‘order’ => ‘id desc’)),‘id’,‘name’), array(‘checked’=>‘checked’,‘template’=>’{input} {label} <a class=“btn btn-danger btn-xs fa fa-times” onclick=“deletefineprint();”> </a>’));

I am adding Template inside Checkboxlist I got that Icon Good Now when i click that icon passing Input text box value,inside

a Tag i wrote onclick function inside i want to pass that input value…

Is it possible to pass input value inside that onclick function,

Thanx & regards,

Geetha SJ