-
Notifications
You must be signed in to change notification settings - Fork 24
/
simple.html
102 lines (100 loc) · 3.81 KB
/
simple.html
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<div id="settings" class="view mblView">
<h1 data-dojo-type="dojox.mobile.Heading" data-dojo-props='back:"Home"'>Simple Model Binding Example</h1>
<form name="testForm" id="testForm">
<div class="field-title">Ship to - Bill to Address</div>
<table id="table" cellspacing="10" style="width: 100%">
<tr>
<td style="width: 100px;" class="layout">First</td>
<td class="layout">
<input id="firstInput1" data-dojo-type="dojox.mobile.TextBox"
data-dojo-props="placeholder:'First'">
</td>
</tr>
<tr>
<td style="width: 100px;" class="layout">Last Name</td>
<td class="layout">
<input id="lastInput1" data-dojo-type="dojox.mobile.TextBox"
data-dojo-props="placeholder:'Last Name'">
</td>
</tr>
<tr>
<td style="width: 100px;" class="layout">Last Name</td>
<td class="layout">
<input id="emailInput1" data-dojo-type="dojox.mobile.TextBox"
data-dojo-props="placeholder:'Email'">
</td>
</tr>
</table>
<div class="spacer"></div>
<button id="shipto" type="button" data-dojo-type="dojox.mobile.Button" class="mblBlueButton">Ship To</button>
<button id="billto" type="button" data-dojo-type="dojox.mobile.Button" class="mblBlueButton">Bill To</button>
<br/>
<div class="fieldset" id="shiptodiv" >Ship To:
<table id="table" cellspacing="10" style="width: 100%">
<tr>
<td style="width: 100px;" class="layout">Street</td>
<td class="layout">
<input id="shiptostreetInput1" data-dojo-type="dojox.mobile.TextBox"
data-dojo-props="placeholder:'Street'">
</td>
</tr>
<tr>
<td style="width: 100px;" class="layout">City</td>
<td class="layout">
<input id="shiptocityInput1" data-dojo-type="dojox.mobile.TextBox"
data-dojo-props="placeholder:'City'">
</td>
</tr>
<tr>
<td style="width: 100px;" class="layout">State</td>
<td class="layout">
<input id="shiptostateInput1" data-dojo-type="dojox.mobile.TextBox"
data-dojo-props="placeholder:'State'">
</td>
</tr>
<tr>
<td style="width: 100px;" class="layout">Zip Code</td>
<td class="layout">
<input id="shiptozipInput1" data-dojo-type="dojox.mobile.TextBox"
data-dojo-props="placeholder:'Zip Code'">
</td>
</tr>
</table>
</div>
<div class="fieldset" id="billtodiv" >Bill To:
<table id="table" cellspacing="10" style="width: 100%">
<tr>
<td style="width: 100px;" class="layout">Street</td>
<td class="layout">
<input id="billtostreetInput1" data-dojo-type="dojox.mobile.TextBox"
data-dojo-props="placeholder:'Street'">
</td>
</tr>
<tr>
<td style="width: 100px;" class="layout">City</td>
<td class="layout">
<input id="billtocityInput1" data-dojo-type="dojox.mobile.TextBox"
data-dojo-props="placeholder:'City'">
</td>
</tr>
<tr>
<td style="width: 100px;" class="layout">State</td>
<td class="layout">
<input id="billtostateInput1" data-dojo-type="dojox.mobile.TextBox"
data-dojo-props="placeholder:'State'">
</td>
</tr>
<tr>
<td style="width: 100px;" class="layout">Zip Code</td>
<td class="layout">
<input id="billtozipInput1" data-dojo-type="dojox.mobile.TextBox"
data-dojo-props="placeholder:'Zip Code'">
</td>
</tr>
</table>
</div>
<div class="spacer"></div>
<button id="save1" type="button" data-dojo-type="dojox.mobile.Button" class="mblBlueButton">Save current model</button>
<button id="reset1" type="button" data-dojo-type="dojox.mobile.Button" class="mblBlueButton">Reset to last saved</button>
</form>
</div>