ajax用render返回的内容, widget会包含进一些js这些js和主页面头部引用进来的重复了,怎么避免呢
ajax用render返回的内容, widget会包含进一些js这些js和主页面头部引用进来的重复了,怎么避免呢
renderPartial函数,只输出view 不会带上layout
不是layout问题哦,我已经把$this->layout = false了,不会渲染layout了
$this->renderPartial(‘viewName’,array(),false,true);
may be help you