CodeIgniter Javascript 类的特效 - hide() / show()

这个功能通过控制页面上一个项目元素的可见性实现效果。hide() 使其隐藏, show() 则显示它。$this->jquery->hide(target, optional speed, optional extra information); $this->jquery->show(target, optional speed, optional extra information);“target” 任何一个有效的jQuery选择器。

“speed” 可选参数,可设置slow,normal,fast,也可以是毫秒数。

“extra information” 可选参数,包括一个回调函数或者其他额外信息。