Bootstrap datetime picker
Bootstrap datetime picker
- Subject: Bootstrap datetime picker
- From: Stavros Panidis <email@hidden>
- Date: Sat, 14 Oct 2017 11:12:28 +0300
Dear,
I just want to share with you how WebObjects, an “old” and “legacy” technology,
plays so well with most current web developments.
In the following html block
<h3 id = "minimum-setup">Minimum Setup</h3>
<div class = "container">
<div class = "row">
<div class = "col-sm-6">
<div class = "form-group">
<div class = "input-group date" id = "datetimepicker1">
<input type = "text" class = "form-control" />
<span class = "input-group-addon">
<span class = "glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
</div>
<script type = "text/javascript”>
jQuery(function () {
jQuery('#datetimepicker1').datetimepicker();
});
</script>
</div>
</div>
<script src = "./js/prettify-1.0.min.js">
</script>
<script src = "./js/base.js">
</script>
if you simply replace
<input type = "text" class = "form-control" />
with
<wo:textfield class=“form-control” value=“$myDate”>
you get a nice Date-Time picker. Really amazing.
Best regards
Stavros Panidis
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden