M P
M P

Reputation: 915

jquery datetimepicker

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!

Upvotes: 3

Views: 10277

Answers (1)

Gellweiler
Gellweiler

Reputation: 889

This version seems to be broken. Check out this version. Worked for me.

The original link is dead. The current one uses WayBackMachine.

Upvotes: 6

Related Questions