Category Archives: JavaScript

AES decrypt in postman

sample code:

Here we choose AES-256 to encrypt / decrypt the secure information. When using AES, the length of the secretKey is important. The length of secretKey in AES-128 is 16 bits, and in AES-256 is 32 bits. And … Continue reading

Posted in JavaScript, Postman | Comments Off on AES decrypt in postman

[JavaScript] cannot call methods on [Object] prior to initialization; attempted to call method ‘refresh’

try to force initialize the object first. stackOverflow: selectmenu (‘refresh’, true)

Posted in JavaScript | Leave a comment

[JavaScript][jQuery] How to enable/disable select field?

[jQuery]

[JavaScript]

Posted in JavaScript, jQuery | Leave a comment

Javascript的月份是從0開始…

受教了~修正 etherpad 的日期顯示以 “yyyy-mm-mm hh-mm” 顯示的過程中發現月份總是少一個月 可是看 code 又沒有什麼問題 所以用 google 搜尋 “jquery + 少1個月” 及 “javascript + 少1個月” 發現了是 javascript 對於月份是少一個月 Orz… 所以 etherpad 的原本的寫法還不錯,貼上來註記一下

Posted in etherpad, JavaScript | Leave a comment

(滑鼠位置) Row顯目變色處理

這主要是透過 javascript 來讓滑鼠游標存在的 Row 變顏色 原始碼如下 (參考Change table row background colour on mouse over-move using JavaScript

Posted in JavaScript | Leave a comment