分類: Javascript
頁次 3/3
![javascript](https://seanacnet.com/wp-content/uploads/2021/08/投影片8-1.jpg)
javascript
JavaScript是一種進階的、直譯的程式語言。JavaScript是一門基於原型、頭等函式的語言,是一門多範式的語言,它支援物件導向程式設計,指令式編程,以及函式語言程式設計。它提供語法來操控文字、陣列、日期以及正規表示式等,不支援I/O,比如網路、儲存和圖形等,但這些都可以由它的宿主環境提供支援。
JS 取得子域名 / How to get the full subdomain
![](https://i0.wp.com/seanacnet.com/wp-content/uploads/2022/02/投影片17.jpg?resize=400%2C200&ssl=1)
HTML, Javascript, Node JS, React, 網站相關
如何使用Chrome套件解決Localhost開發中的CORS問題 – 前端無痛解決 CORS Error 問題
![What is an API?](https://i0.wp.com/seanacnet.com/wp-content/uploads/2021/12/投影片13.jpg?resize=400%2C200&ssl=1)
API 是什麼
![input RegExp number](https://i0.wp.com/seanacnet.com/wp-content/uploads/2021/11/投影片13.jpg?resize=400%2C200&ssl=1)
Input RegExp 表單驗證 – 只輸入數字
![Regular Expression](https://i0.wp.com/seanacnet.com/wp-content/uploads/2021/11/投影片12.jpg?resize=400%2C200&ssl=1)
JS 正規表達式 – 常用 RegExp 表單驗證範例
![javascript location](https://i0.wp.com/seanacnet.com/wp-content/uploads/2021/08/投影片10.jpg?resize=400%2C200&ssl=1)
[JS] Javascript 取得目前 URL 與相關參數(總整理)
![javascript location](https://i0.wp.com/seanacnet.com/wp-content/uploads/2021/08/投影片10.jpg?resize=400%2C200&ssl=1)
如何透過 Javascript 取得網址 與 URL 相關參數 – location
![javascript location.pathname](https://i0.wp.com/seanacnet.com/wp-content/uploads/2021/08/投影片16.jpg?resize=400%2C200&ssl=1)
[JS]Javascript 取得網址目前頁面路徑 location pathname
![javascript location-hash](https://i0.wp.com/seanacnet.com/wp-content/uploads/2021/08/投影片18.jpg?resize=400%2C200&ssl=1)
[JS]Javascript 取得網址後面#(錨點)名稱 location hash
![javascript location.search](https://i0.wp.com/seanacnet.com/wp-content/uploads/2021/08/投影片17.jpg?resize=400%2C200&ssl=1)
[JS GET URL]Javascript 取得網址 URL GET 參數字串 location search
![javascript location.port](https://i0.wp.com/seanacnet.com/wp-content/uploads/2021/08/投影片15.jpg?resize=400%2C200&ssl=1)
[JS]Javascript 取得網址目前端口號 location port
![javascript location.origin](https://i0.wp.com/seanacnet.com/wp-content/uploads/2021/08/投影片14.jpg?resize=400%2C200&ssl=1)
[JS] window.location.origin – 取得網址包含協定(http/https)的網域名稱
![javascript location.hostname](https://i0.wp.com/seanacnet.com/wp-content/uploads/2021/08/投影片13.jpg?resize=400%2C200&ssl=1)
[JS]Javascript 取得網址目前的網域名稱 location hostname
![javascript location.host](https://i0.wp.com/seanacnet.com/wp-content/uploads/2021/08/投影片12.jpg?resize=400%2C200&ssl=1)
[JS]如何用Javascript 取得網址目前的網域名稱 location host
![javascript location.protocol](https://i0.wp.com/seanacnet.com/wp-content/uploads/2021/08/投影片9.jpg?resize=400%2C200&ssl=1)
[JS]Javascript 取得網址當前協議 location protocol
![Javascript location.href](https://i0.wp.com/seanacnet.com/wp-content/uploads/2021/08/投影片8.jpg?resize=400%2C200&ssl=1)