I have a problem with Trent Richardson's Date and Time picker (link). The time picker just does now pops-out. Not working entirely.
My code:
jQuery includes:
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"></script>
<script src="http://mydomain.org/folder/wp-content/themes/twentyeleven/jquery/development-bundle/ui/jquery-ui-timepicker-addon.js"></script>
And for the call for function I have:
<script>
$('#datumodhoda').datetimepicker({
timeFormat: "h:m t",
ampm: true
});
</script>
What could be wrong? The other jquery calls working correctly. The path to the new addon is correct, the browser loads it (checked with firebug).
Having problems with this for over a week now.
Would be very happy if someone helps me, thanks!
class="hasDatepicker"
. try by removing it. I figure out that this class added by its js, but if we already put it with html it will not work.