CGridView IE Jquery error: yiiGridView function not found

Hello all,

I am trying to populate data with CGridView. Everything is OK except that when running in IE6 and IE7, I got Javascript error at


jQuery('#topic-grid').yiiGridView({'ajaxUpdate':['topic-grid'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'grid-view-loading','filterClass':'filters','tableClass':'items','selectableRows':2});



The error message is


Microsoft JScript runtime error: Object doesn't support this property or method

When debuging the javascript, i found that jQuery(’#topic-grid’) does not have yiiGridView method. Dont know why? The js file is already loaded. It works OK in FireFox and Chrome.

Any ideas?

Thanks

Up!

Difficult to say what could be the problem here…

If it say that it does not have the method yiiGridView then I would say that the jquery.yiigridview.js is not loaded…

No, it is loaded.

Have you clear assets folder?