yiisoft/yii — pull request #3215 by RooTooZ (2014-02-08 06:47:55+00:00)
Title: Added the ability to bind ajax js to a class

Example:
```

createUrl('status', array('id'=>$issue->id, 'status' => Tasks::STATUS_START)), array(
'type'=>'POST',
'data'=>array('update'=>true),
'update' => '.issue-buttons',
), array('class' => 'action-buttons', 'bindClass' => "action-buttons"));
?>

```
And we have js:
```
jQuery('body').on('click','.action-buttons',function(){jQuery.ajax({'type':'POST','data' ...
```
modified: framework/web/helpers/CHtml.php