Zend Framework

Dojo date picker is nice and beautiful widget. The nice thing about any dojo widgets is that they can be easily attached to appropriate html tag. To assign date picker to input box take the following cod.

<html>
<head>
<script src=”path/to/dojo.js”>
require(‘dijit.form.DateTextBox’);
</script>
<style type=text/css>
@import "path/to/dojo/dijit/themes/tundra/tundra.css";
</style>
</head>
<body class= “tundra”>
<input type=”text” dojoType=”dijit.form.DateTextBox” name=”dd” id=”dd”/>
</body>
</html>


If you correctly include dojo.js and tundra.css, you will see a nice

About

Article about Zend Framework, Dojo, Ajax and many more

To get access to this premium blog…

With full access you get to:
View all past, current, and future posts in their entirety.
Join the conversation happening inside this blog (open only to subscribers). Voice your opinion- even rate it!
Receive instant notifications each time a new post is made to this blog.
Want to join the knowledge marketplace? Create a premium blog today!