blob: b7355fa7759e50d435d84a4b1011cca70a5f44d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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>
|