Skip to content
Permalink
Browse files

simple datepicker demo

  • Loading branch information
1Marc committed Jun 10, 2008
1 parent 1750158 commit 7d9c73f0c57f09b09d827a0f7e7d24da3eb8764e
Showing with 32 additions and 0 deletions.
  1. +32 −0 demos/functional/templates/ui.datepicker.html
@@ -0,0 +1,32 @@
<script type="text/javascript">

var model = {

renderAt: '#containerDemo',

title: 'Datepicker Demos',

demos: [

{
title: 'Datepicker',
desc: 'A date picker can easily be added to an input field with default settings.',
html: '<label>Default datepicker</label> <input type="text" size="30" value="click to show datepicker" id="defaultFocus"/>',
destroy: '$("#defaultInput").datepicker("destroy");',

options: [
{ desc: 'Default datepicker', source: '$("#defaultFocus").datepicker();' }
]
}

]

};

$(function(){

uiRenderDemo(model);

});

</script>

0 comments on commit 7d9c73f

Please sign in to comment.
You can’t perform that action at this time.