[問題] 請問frmSearch及frmContent,有什麼作用?

看板Ajax作者 (黃色獅子頭)時間14年前 (2010/05/12 16:41), 編輯推噓1(102)
留言3則, 3人參與, 最新討論串1/1
var caseKind = null ; try{ caseKind = document.frmSearch["aa.caseKind"]; } catch(e){} try{ if(caseKind==null || caseKind.length==0) { caseKind = document.frmContent["aa.caseKind"]; } } catch(e){} 請問JavaScript 裡document.frmContent及document.frmSearch 我不懂這兩個指令,用途?功用?不同之處? 謝謝!! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.120.175.188

05/12 18:02, , 1F
看看有沒有name="frmSearch"和"frmContent"的<form>
05/12 18:02, 1F

05/12 21:03, , 2F
這兩個不是內建成員。應該只是某一個頁面上的元素而已。
05/12 21:03, 2F

05/13 17:01, , 3F
謝謝~
05/13 17:01, 3F
文章代碼(AID): #1BwccYhd (Ajax)