網誌清單

編輯 關閉
網誌分類:電腦 |
網誌日期:2008-08-20 06:53
function returnObjById( id  ){
//   http://www.netlobo.com/javascript_get_element_id.html    

    if (document.getElementById)
        var returnVar = document.getElementById(id);
    else if (document.all)
        var returnVar = document.all[id];
    else if (document.layers)
        var returnVar = document.layers[id];
    return returnVar;
}
  • 檢舉

    philo 2008-08-22 11:35

    My boss don't like it.  He is a big fans of Excel VBA.
  • 檢舉

    josephmak 2008-08-22 08:20

    You do javascript? This layers stuff is from Netscape 4, and Netscape totally lost the browser war. No one uses them now. getElementById() is sufficient now. It is used by both IE and Firefox, and it is very important method to know for modern AJAX programming.

    Javascript can do a LOT of amazing stuff. There are many real cool libraries.

我的訂閱

編輯 關閉

我的訂閱

  • My dearest Grandma...

    2008-08-03 01:57

    Grandma.. although I know you are now living with Jesus in Heaven, I still miss you.. Thanks god gave a cha......

  • 長不大

    2008-07-28 22:01

    主唱: 吳雨霏 作曲:Gary Tong填詞:方傑編曲:Gary Tong監製:Gary Chan突然望著你一下 竟看到一塊籬笆......

  • 新學習

    2008-08-30 10:01

    為咗一份工,之前已經報讀咗兩個 Course,但係又因為必要嘅關係,聽日又要開始另一個學習,就係急救課程喇。 好彩......

  • 放開懷抱

    2008-08-30 10:00

    看留言,突然很多朋友問候安慰我。 霎時間,想不起自己為何惹人憐憫。 朋友關心地說:「感覺你最近壓力很大」、......

BLOG 搜尋

編輯 關閉

BLOG 搜尋


網誌分類

編輯 關閉

網誌分類

最新網誌

編輯 關閉

統計資料

編輯 關閉

統計資料

  • 昨日人次:3
  • 累積人次:3093
  • 今日瀏覽:2
  • 累積瀏覽:26191
  • 網誌:190
  • 圖片:88
  • 回應:100

訂閱RSS摘要

編輯 關閉

更新日期

編輯 關閉

更新日期

2008-08-20 06:54
 

R H
G S
B V

#