Re: [問題] 如何得知訊窗元件裡的資訊

看板Web_Design作者 (Benny)時間18年前 (2006/08/24 20:20), 編輯推噓2(200)
留言2則, 1人參與, 最新討論串2/4 (看更多)
※ 引述《terrybob (翔翔)》之銘言: : <div id="LayerBull" class="Bulletin">....(asp程式所產生的表格)...</div> : 因為表格有高度有寬度 : 我想知道…怎麼樣才可以得知那個表格的高度?… : 我在script下… : alert(window.document.body.LayerBull.top); : 或 : alert(window.document.body.Bulletin.top); : 兩個都沒任何回應…= = : 請教教我吧…> < <script> alert(document.getElementById('LayerBull').style.top); </script> -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.132.7.82

08/24 23:16, , 1F
謝謝,還特地回文給我…Q___Q~(感動)
08/24 23:16, 1F

08/25 09:11, , 2F
呃…給原po…我試過,還是沒反應呢…> <!怎麼辦
08/25 09:11, 2F
文章代碼(AID): #14xPb-1L (Web_Design)
討論串 (同標題文章)
文章代碼(AID): #14xPb-1L (Web_Design)