My head hurts a day later due to this error.
The jQuery object is actually just the init constructor 'enhanced' return new jQuery.fn.init( selector, context, rootjQuery ); } has no method 'curCSS'
my html:
<input class="field2" type="text" name="time" placeholder="Time" value ="<?php echo $this- >input->post('time'); ?>" id = "timepicker"/></div>
im currently uses a code igniter, and im also uses a date picker. I think the conflict is included in js libraries, but still I cannot debug it.
EDIT: These are included js
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <script type="text/javascript"src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script> <script type="text/javascript" src="<?php echo base_url() ?>js_front/jquery-1.8.3.js"></script> <script type="text/javascript" src="<?php echo base_url() ?>js_front/ui/jquery.ui.core.js"></script> <script type="text/javascript" src="<?php echo base_url() ?>js_front/ui/jquery.ui.widget.js"></script> <script type="text/javascript" src="<?php echo base_url() ?>js_front/ui/jquery.ui.datepicker.js"></script>
and here timepicker is assigned to an input tag of type text
$(function() { $( "#timepicker" ).timepicker();
});
jquery codeigniter timepicker
Orvyl
source share