jquery-ui/demos/functional/templates/ui.datepicker.html

32 lines
566 B
HTML
Raw Normal View History

2008-06-10 10:42:34 +00:00
<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.',
2008-06-10 10:45:38 +00:00
html: '<input type="text" size="30" value="click to show datepicker" id="defaultFocus"/>',
2008-06-10 10:42:34 +00:00
destroy: '$("#defaultInput").datepicker("destroy");',
options: [
{ desc: 'Default datepicker', source: '$("#defaultFocus").datepicker();' }
]
}
]
};
$(function(){
uiRenderDemo(model);
});
</script>