CodeIgniter 提供的jquery方法在controller都不能用啊!
$this->load->library('jquery');直接报错,看了网上的资料说要这么写:$this->load->library('javascript');虽然不报错了,但是根本不能用文档上提供的方法,例如 :
$this->jquery->effect( plugin name);
直接页面报错,大家都怎样在controller中控制 jquery的显示?? 例如controller 调用effect,跳转到view就显示jquery 对话框? http://codeigniter.org.cn/forums/thread-8755-1-1.html
jeongee 发表于 2011-4-12 21:36 http://codeigniter.org.cn/forums/images/common/back.gif
多谢! 这么麻烦啊! 我还是考虑别的js吧 回复 3# liren
直接在视图使用js啊,无需走PHP生成
页:
[1]