I have incorporated this simple datetimepicker : http://trentrichardson.com/examples/timepicker/#rest_examples
So it looks
<?php $tabname = "brightness"; ?>
<script type="text/javascript">
$('#datumstartbrightness').timepicker();
</script>
...
<input type="text" name="datumstart<?php echo $tabname; ?>"
id="datumstart<?php echo $tabname; ?>"/>
...
With this code it works and datetimepicker appears !
But with this …
<?php $tabname = "brightness"; ?>
<script type="text/javascript">
$('#datumstart<?php echo $tabname; ?>').timepicker();
</script>
...
<input type="text" name="datumstart<?php echo $tabname; ?>" id="datumstart<?php echo $tabname; ?>"/>
...
DateTimePicker doesn’t appear. What can be wrong with this line
$(‘#datumstart’).timepicker();
You need to do the ready-state first before you can call jQuery-Functions: So try this: