<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>JavaScript</title><link>http://blog.blueshop.com.tw/abgne/category/726.aspx</link><description>JavaScript</description><managingEditor>男丁格爾</managingEditor><dc:language>zh-TW</dc:language><generator>.Text Version 0.95.2004.101</generator><item><dc:creator>男丁格爾</dc:creator><title>取得 HTML 中的元素</title><link>http://blog.blueshop.com.tw/abgne/archive/2006/04/10/21111.aspx</link><pubDate>Mon, 10 Apr 2006 23:22:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/abgne/archive/2006/04/10/21111.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/abgne/comments/21111.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/abgne/archive/2006/04/10/21111.aspx#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/abgne/comments/commentRss/21111.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/abgne/services/trackbacks/21111.aspx</trackback:ping><description>在這範例中，若要取得 form 裡面的 text 的元素的話，相信應該是很多人都會用 document.all("text1") 或是用 document.form1.text1 吧！在 IE 、 FireFox 及 Opera 中，以上兩種寫法都是可以執行的，但要注意的是： document.all 並非是標準的寫法。

而在 W3C 的標準中，建議使用 getElementById 來取得某特定 ID 的元素；另外也可以用 getElementsByName 或是 getElementsByTagName 來取得某特定 Name 或是類型的元素集合。&lt;img src ="http://blog.blueshop.com.tw/abgne/aggbug/21111.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>男丁格爾</dc:creator><title>金額中文轉數字</title><link>http://blog.blueshop.com.tw/abgne/archive/2006/03/18/19724.aspx</link><pubDate>Sat, 18 Mar 2006 01:36:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/abgne/archive/2006/03/18/19724.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/abgne/comments/19724.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/abgne/archive/2006/03/18/19724.aspx#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/abgne/comments/commentRss/19724.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/abgne/services/trackbacks/19724.aspx</trackback:ping><description>前幾天在小鋪看到一篇問說要如何將壹萬伍仟零貳拾圓轉換成15,020。仔細想了一下，應該是要先轉成數字後，再每三位數一撇吧！金錢格式-三位一撇已經有寫過了，所以現在只要能把金額中文轉數字就可以了。&lt;img src ="http://blog.blueshop.com.tw/abgne/aggbug/19724.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>男丁格爾</dc:creator><title>群組式下拉選單</title><link>http://blog.blueshop.com.tw/abgne/archive/2006/03/14/19537.aspx</link><pubDate>Tue, 14 Mar 2006 13:45:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/abgne/archive/2006/03/14/19537.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/abgne/comments/19537.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/abgne/archive/2006/03/14/19537.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/abgne/comments/commentRss/19537.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/abgne/services/trackbacks/19537.aspx</trackback:ping><description>最近跟朋友合寫一個線上HTML編輯器(類似Xuite Blog的發文編輯器一樣)，但畫面就那麼大，但是已做出來的功能一堆，相對的，若要全放上去的話，按鈕的排版將是一大問題。 所以想說能否將一些按鈕先隱藏起來，當有要用到時，再出現讓使用者來點選。&lt;img src ="http://blog.blueshop.com.tw/abgne/aggbug/19537.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>男丁格爾</dc:creator><title>頁籤-動態改變CSS樣式</title><link>http://blog.blueshop.com.tw/abgne/archive/2006/02/22/18011.aspx</link><pubDate>Wed, 22 Feb 2006 21:36:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/abgne/archive/2006/02/22/18011.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/abgne/comments/18011.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/abgne/archive/2006/02/22/18011.aspx#Feedback</comments><slash:comments>8</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/abgne/comments/commentRss/18011.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/abgne/services/trackbacks/18011.aspx</trackback:ping><description>什麼是頁籤？各位可以對著桌面的IE點右鍵並選擇內容，接著就會開啟網際網路 內容的視窗，仔細看這視窗上面那一排的部份(下圖中的藍色矩形)，可自由的切換來切換去的，每個都有自己的畫面，這就是頁籤了。&lt;img src ="http://blog.blueshop.com.tw/abgne/aggbug/18011.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>男丁格爾</dc:creator><title>JavaScript與VBScript的配合</title><link>http://blog.blueshop.com.tw/abgne/archive/2006/01/23/16776.aspx</link><pubDate>Mon, 23 Jan 2006 20:45:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/abgne/archive/2006/01/23/16776.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/abgne/comments/16776.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/abgne/archive/2006/01/23/16776.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/abgne/comments/commentRss/16776.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/abgne/services/trackbacks/16776.aspx</trackback:ping><description>很多人都以為JavaScript與VBScript是不同時存在一個頁面，或是兩者沒辦法互相配合運用！其實這都是~錯、錯、錯。 JavaScript與VBScript不僅可以同時存在一個頁面上，更是可以互相的呼叫使用。&lt;img src ="http://blog.blueshop.com.tw/abgne/aggbug/16776.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>男丁格爾</dc:creator><title>無間斷圖片跑馬燈</title><link>http://blog.blueshop.com.tw/abgne/archive/2006/01/08/15975.aspx</link><pubDate>Sun, 08 Jan 2006 04:32:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/abgne/archive/2006/01/08/15975.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/abgne/comments/15975.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/abgne/archive/2006/01/08/15975.aspx#Feedback</comments><slash:comments>23</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/abgne/comments/commentRss/15975.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/abgne/services/trackbacks/15975.aspx</trackback:ping><description>有用過Marquee來做圖片跑馬燈的人應該都知道當圖片跑完後，會等圖都跑完後才會再繼續的重跑。&lt;img src ="http://blog.blueshop.com.tw/abgne/aggbug/15975.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>男丁格爾</dc:creator><title>讓CheckBox變單選</title><link>http://blog.blueshop.com.tw/abgne/archive/2005/12/30/15730.aspx</link><pubDate>Fri, 30 Dec 2005 00:43:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/abgne/archive/2005/12/30/15730.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/abgne/comments/15730.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/abgne/archive/2005/12/30/15730.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/abgne/comments/commentRss/15730.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/abgne/services/trackbacks/15730.aspx</trackback:ping><description>大家應該都知道checkBox在正常的情況下是可以多選的，而radio才是只能單選的。若也想讓checkBox也變成只能單選的話，這樣怎樣去改呢(姑且不管醬做有沒有意義)？&lt;img src ="http://blog.blueshop.com.tw/abgne/aggbug/15730.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>男丁格爾</dc:creator><title>PadLeft及PadRight</title><link>http://blog.blueshop.com.tw/abgne/archive/2005/12/24/15627.aspx</link><pubDate>Sat, 24 Dec 2005 23:23:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/abgne/archive/2005/12/24/15627.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/abgne/comments/15627.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/abgne/archive/2005/12/24/15627.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/abgne/comments/commentRss/15627.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/abgne/services/trackbacks/15627.aspx</trackback:ping><description>假如有個欄位是要填3位數的民國年，像是095這一類的話，若只輸入95這樣的2位數時，就要在前面多幫它補一個0或是空格好湊成3位數。這種方法叫做PadLeft。&lt;img src ="http://blog.blueshop.com.tw/abgne/aggbug/15627.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>男丁格爾</dc:creator><title>attachEvent() / addEventListener()</title><link>http://blog.blueshop.com.tw/abgne/archive/2005/12/22/15606.aspx</link><pubDate>Thu, 22 Dec 2005 23:01:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/abgne/archive/2005/12/22/15606.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/abgne/comments/15606.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/abgne/archive/2005/12/22/15606.aspx#Feedback</comments><slash:comments>12</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/abgne/comments/commentRss/15606.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/abgne/services/trackbacks/15606.aspx</trackback:ping><description>有時候當某一物件的某一事件被觸發時，它所要執行的程式可能是一大串，有可能是要呼叫某一函式，也有可能同時又要呼叫另一函式。做法其實很多種啦，現在一一的介紹一下。&lt;img src ="http://blog.blueshop.com.tw/abgne/aggbug/15606.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>男丁格爾</dc:creator><title>金錢格式-三位一撇</title><link>http://blog.blueshop.com.tw/abgne/archive/2005/12/12/15492.aspx</link><pubDate>Mon, 12 Dec 2005 22:10:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/abgne/archive/2005/12/12/15492.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/abgne/comments/15492.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/abgne/archive/2005/12/12/15492.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/abgne/comments/commentRss/15492.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/abgne/services/trackbacks/15492.aspx</trackback:ping><description>在某論壇中，有位內地的朋友問說是否能用JavaScript做出一個函式，然後做到把整數值從右到左每隔三位加一個逗號，不足3位的時候就不再加。例如：23456，使用函式後： 23,456。&lt;img src ="http://blog.blueshop.com.tw/abgne/aggbug/15492.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>