手动调用ajax更新yii中的list view
发布时间:2020-12-15 20:56:38 所属栏目:百科 来源:网络整理
导读:/** * Performs an AJAX-based update of the list view contents. * @param id string the ID of the list view container * @param options map the AJAX request options (see jQuery.ajax API manual). By default,* the URL to be requested is the one
/** * Performs an AJAX-based update of the list view contents. * @param id string the ID of the list view container * @param options map the AJAX request options (see jQuery.ajax API manual). By default,* the URL to be requested is the one that generates the current content of the list view. */ $.fn.yiiListView.update(id,options); id是list view的id,options可以加一些附加参数。具体可以见yii自动生成的jquery.yiilistview.js (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |