hello i am newbie to yii… and i am having problem with jquery.yiigridview.js … by scriptMap i have changed jquery.js of version 1.10.2… so my jquery.ba-bbq.js was not working i solved it by This Article after solving it when i debug i find problem with jquery yii.gridview.js
on line 37 of yii.gridview.js object object has no method die()
$.fn.yiiGridView = function(options) {
return this.each(function(){
var settings = $.extend({}, $.fn.yiiGridView.defaults, options || {});
var $this = $(this);
var id = $this.attr('id');
if(settings.updateSelector === undefined)
settings.updateSelector = '#'+id+' .'+settings.pagerClass.replace(/\s+/g,'.')+' a, #'+id+' .'+settings.tableClass.replace(/\s+/g,'.')+' thead th a';
$.fn.yiiGridView.settings[id] = settings;
if(settings.ajaxUpdate.length > 0) {
$(settings.updateSelector).die('click').live('click',function(){
$.fn.yiiGridView.update(id, {url: $(this).attr('href')});
return false;
});
}
on this line of above code
$(settings.updateSelector).die('click').live('click',function(){
help me… because of this… gridview is not working properly.,… i changed jquery to make it compatible with other vendors slider jquery …