01.
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
04.
<head>
05.
<meta http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
06.
<title>jquery
use
json data</title>
08.
<script type=
"text/javascript"
src=
"ajax.js"
></script>
09.
</head>
10.
<form action=
"insert.php"
method=
"post"
>
11.
<body onload=
"Add();"
>
12.
<label
for
=
"Proviance"
>จังหวัด</label>
13.
<select name=
"Proviance"
id=
"Proviance"
>
14.
</select>
15.
<label
for
=
"ProID"
>รหัสจังหวัด</label>
16.
<input type=
"text"
name=
"ProID"
id=
"ProID"
/>
17.
<p>
18.
<label
for
=
"District"
>อำเภอ</label>
19.
<select name=
"District"
id=
"District"
>
20.
</select>
21.
<label
for
=
"DisID"
>รหัสอำเภอ</label>
22.
<input type=
"text"
name=
"DisID"
id=
"DisID"
/>
23.
</P>
24.
<p>
25.
<label
for
=
"Subdistrict"
>ตำบล</label>
26.
<select name=
"Subdistrict"
id=
"Subdistrict"
>
27.
</select>
28.
<label
for
=
"SubID"
>รหัสตำบล</label>
29.
<input type=
"text"
name=
"SubID"
id=
"SubID"
/>
30.
</P>
31.
<p>
32.
<label
for
=
"Postcode"
>รหัสไปรษณีย์</label>
33.
<select name=
"Postcode"
id=
"Postcode"
>
34.
</select>
35.
<label
for
=
"PostID"
>รหัสไปรษณีย์</label>
36.
<input type=
"text"
name=
"PostID"
id=
"PostID"
/>
37.
</P>
38.
<input type=
"hidden"
name=
"uid"
value=
"<?= $uid?>"
/>
39.
<input type=
"submit"
name=
"submit"
id=
"submit"
value=
"Submit"
/>
40.
</form>
41.
</body>
42.
</html>