I have a problem with the Yii grid. for some reason it doesn't seem to load correctly even if the script is enabled (I see it in the source code). This is the header of the HTML:
<script src="fileadmin/static/js/jquery-1.8.3.min.js" type="text/javascript"></script>
<script src="/module/public/assets/80c0553/gridview/jquery.yiigridview.js" type="text/javascript"></script>
<script type="text/javascript">jQuery(function($) {
jQuery('#grid-downloads').yiiGridView({'ajaxUpdate':['grid-downloads'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'grid-view-loading','filterClass':'filters','tableClass':'def-table','selectableRows':1,'enableHistory':false,'updateSelector':'{page}, {sort}','filterSelector':'{filter}','pageVar':'page'});
});
</script>
I get an error message: TypeError: jQuery(...).yiiGridView is not a function
Any ideas you might have a problem in?
Asped source
share