|
@@ -29,10 +29,10 @@
|
|
|
<!-- fieldsets -->
|
|
|
<fieldset>
|
|
|
<h2 class="fs-title">基本資料</h2>
|
|
|
- <h3 class="fs-subtitle">步驟 1</h3>
|
|
|
- <input type="text" name='id' value="" style="display: none;" id="userid">
|
|
|
- <input type="text" name='area' value="" style="display: none;" id="area">
|
|
|
- <select name="q1">
|
|
|
+ <h3 class="fs-subtitle" style="margin-bottom: 0rem;">步驟 1</h3>
|
|
|
+ <input type="text" name='id' value="" id="userid" style="visibility: hidden;">
|
|
|
+ <input type="text" name='area' value="" id="area" style="visibility: hidden;">
|
|
|
+ <select name="q1" style="margin-top: -4rem">
|
|
|
<option value="Male">男</option>
|
|
|
<option value="Female">女</option>
|
|
|
</select>
|
|
@@ -148,7 +148,7 @@
|
|
|
function getUserid() {
|
|
|
const urlParams = new URLSearchParams(document.location.href);
|
|
|
let id = urlParams.get('userid');
|
|
|
- $('#userid').val = id;
|
|
|
+ $('#userid').val(id);
|
|
|
// console.log(id);
|
|
|
}
|
|
|
getUserid();
|
|
@@ -161,7 +161,7 @@
|
|
|
|
|
|
function getArea() {
|
|
|
let Area = getCookie(area);
|
|
|
- $('#area').val = Area;
|
|
|
+ $('#area').val(Area);
|
|
|
// console.log(Area);
|
|
|
}
|
|
|
getArea();
|