p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Concise Guide to Dojo ISBN: 978-0-470-45202-8 (http://p2p.wrox.com/forumdisplay.php?f=431)
-   -   dijit.form.DateTextBox (http://p2p.wrox.com/showthread.php?t=87881)

wimr June 29th, 2012 08:04 AM

How do I fill an initial date in the DateTextBox?

<label for="startdate">Begindatum</label>               
<input type="text" name="startdate" id="startdate" value="01-07-2012" trim="1" dojoType="dijit.form.DateTextBox" promptMessage="Begindatum van de prijsperiode" invalidMessage="Onjuiste datum" required="true" />

At first the datefield is filled with the value (I notice if I've a javascript error), but the end result is a blank field.

Googling and lots of trying did not help me, and this should not be so difficult.

All times are GMT -4. The time now is 09:51 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.