Welcome Guest, Not a member yet? Register   Sign In
jquery problem?
#1

[eluser]tariq123[/eluser]
How i implement jquery in codeigniter? I am using this script http://www.gmarwaha.com/jquery/jcarousellite/ and it works fine when i run this script in a separate page but when i implement in codeigniter it didn't run.What should i do to implement jcarousellite in codeigniter?Please help me if somebody know about it.
#2

[eluser]Dennis Rasmussen[/eluser]
Have you checked the paths of your script?
#3

[eluser]tariq123[/eluser]
yes
#4

[eluser]Frank Rocco[/eluser]
Here is my code that works.
Code:
type="text/javascript" src="<?php echo base_url() ?>js/jquery/jquery-1.4.2.js">
type="text/javascript" src="<?php echo base_url() ?>js/jquery/jquery-ui-1.8.4.custom.min.js">


<td>&lt;?php echo form_input($FDATE);?&gt;&nbsp;yyyy-mm-dd</td>
        <td>&lt;?php echo form_error('FDATE');?&gt;</td>
        [removed]
            $(document).ready(function() {
                $('.FDATE').datepicker({ dateFormat: 'yy-mm-dd' });
            });  
        [removed]
#5

[eluser]joedy[/eluser]
have you tried http://api.jquery.com/jQuery.noConflict/




Theme © iAndrew 2016 - Forum software by © MyBB