El Forum
04-12-2011, 08:52 AM
[eluser]liren[/eluser]
Hello friends!
I read CodeIgniter201\user_guide\libraries\javascript.html,but it don't work until now.I want to use jquery with CodeIgniter2.But I can't controll the view effect by my code. My controller is:
My view page:
But when I open the url,nothing happened
How to use jquery effect with codeigniter? Thanks!
Hello friends!
I read CodeIgniter201\user_guide\libraries\javascript.html,but it don't work until now.I want to use jquery with CodeIgniter2.But I can't controll the view effect by my code. My controller is:
Code:
$this->load->library('javascript');
$this->jquery->show("#effect", "slow");
$this->load->view('/page/edit_view',$data);
My view page:
Code:
<div class="toggler">
<div id="effect" class="ui-widget-content ui-corner-all">
<h3 class="ui-widget-header ui-corner-all">Show</h3>
<p>
You order it before.
</p>
</div>
</div>
</BODY>
</HTML>
But when I open the url,nothing happened

How to use jquery effect with codeigniter? Thanks!