I have a Yii application using the cgridview that uses ajax pagination. Common problem for people - when you paginate you lose binding with jquery. For example, my popovers stop working (among other things).

I have the popover function as:

```
$('.myclass').popover({
    trigger: 'hover',
    show: true,
    html: true
});

```

How can I rewrite this function using jquery .on() event handling ? Or is there another solution?