Welcome Guest, Not a member yet? Register   Sign In
couldn't show effect using jquery in CodeIgniter2.01?
#1

[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:
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>

&lt;/BODY&gt;
&lt;/HTML&gt;

But when I open the url,nothing happened Sad
How to use jquery effect with codeigniter? Thanks!


Messages In This Thread
couldn't show effect using jquery in CodeIgniter2.01? - by El Forum - 04-12-2011, 07:52 AM
couldn't show effect using jquery in CodeIgniter2.01? - by El Forum - 04-12-2011, 08:56 AM
couldn't show effect using jquery in CodeIgniter2.01? - by El Forum - 04-15-2011, 09:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB