14,953
edits
| Line 3: | Line 3: | ||
== methods / functions == | == methods / functions == | ||
Print message | |||
* alert() Method: [http://www.w3schools.com/jsref/met_win_alert.asp Window alert() Method] equivalent: window.alert("some message..."); | * alert() Method: [http://www.w3schools.com/jsref/met_win_alert.asp Window alert() Method] equivalent: window.alert("some message..."); | ||
* [http://stackoverflow.com/questions/323517/is-there-an-equivalent-for-var-dump-php-in-javascript Is there an equivalent for var_dump (PHP) in Javascript? - Stack Overflow] | * [http://stackoverflow.com/questions/323517/is-there-an-equivalent-for-var-dump-php-in-javascript Is there an equivalent for var_dump (PHP) in Javascript? - Stack Overflow] | ||
| Line 15: | Line 15: | ||
* 如果是進行 DOM 操作,可以將選定的 DOM 元素標上顏色,確認有選到。 ex: using [http://api.jquery.com/addClass/ .addClass() | jQuery API Documentation] | * 如果是進行 DOM 操作,可以將選定的 DOM 元素標上顏色,確認有選到。 ex: using [http://api.jquery.com/addClass/ .addClass() | jQuery API Documentation] | ||
Data type | |||
* [http://www.w3schools.com/jsref/jsref_isnan.asp isNaN() Function], [http://www.w3schools.com/jsref/jsref_isfinite.asp isFinite() Function], typeof variable | * [http://www.w3schools.com/jsref/jsref_isnan.asp isNaN() Function], [http://www.w3schools.com/jsref/jsref_isfinite.asp isFinite() Function], typeof variable | ||
Browser tool | |||
* [https://stackoverflow.com/questions/10213703/how-do-i-view-events-fired-on-an-element-in-chrome-devtools javascript - How do I view events fired on an element in Chrome DevTools? - Stack Overflow] on {{Chrome}} | |||
Browser cache issue | |||
* [https://stackoverflow.com/questions/44958022/managing-browser-cache javascript - Managing browser cache - Stack Overflow] | |||
* [https://blog.miniasp.com/post/2008/02/03/Avoid-browser-cache-problem-on-css-or-javascript-file.aspx The Will Will Web | 簡易克服 CSS 被瀏覽器快取(Cache)的問題] | |||
== tools == | == tools == | ||