jQuery Form data to Object

jQuery Serialize Object

取得所有表單資料,目前試過唯一能轉多維表單物件的,使用簡單,找到感覺得救了
Form data to Object jQuery

Example:

<form id="contact">
<input name="user[email]" value="jsmith@example.com">
<input name="user[pets][]" type="checkbox" value="cat" checked>
<input name="user[pets][]" type="checkbox" value="dog" checked>
<input name="user[pets][]" type="checkbox" value="bird">
<input type="submit">
</form>
$('form#contact').serializeObject();
//=> {user: {email: "jsmith@example.com", pets: ["cat", "dog"]}}
$('form#contact').serializeJSON();
//=> '{"user":{"email":"jsmith@example.com","pets":["cat","dog"]}}
'

[……]

閱讀更多

[MIS][WIN10] chrome 變大了,解決方案

不知道為什麼今天開啟Chrome不管是工具列介面,都變大了,不僅如此,網頁的呈現也變大了,看一下縮放比例仍維持100%沒錯壓,大約要調到80%,才跟之前的顯示尺寸一樣,查了一下是Chrome更新所致,但,用起來相當不順手,以下提供解決方案,我順利解決。

開始 > Google Chrome (右鍵) > 更多 > 開啟檔案位置

選取 Google Chrome (右鍵) > 內容

目標欄位

例如我的是”C:Program FilesGoogleChromeApplicationchrome.exe”

在後面加上 /high-dpi-support=1 /force-device-scale-factor=1

變這樣”C:Program FilesGoogleChromeApplicationchrome.exe” /high-dpi-support=1 /force-device-scale-factor=1

/前面記得加個空白鍵

重新建其他地方捷徑
選取 Google Chrome (右鍵) > 傳送到 (N) > 桌面 (建立捷徑)
捷徑就會存在桌面了,再來就看你習慣放哪了

我習慣在下方工具列加上捷徑,所以我這麼做
選取 Google Chrome (右鍵) > 釘選到工具列

關閉所有Google Chrome,若不確定是否全關了,就重新啟動電腦
點工具列圖標,開啟,Chrome,賓果~恢復正常

參考資料
https://forum.gamer.com.tw/C.php?bsn=60030&snA=444515&tnum=3
https://tw.answers.yahoo.com/question/index?qid=20140828000016KK08138

[……]

閱讀更多