當(dāng)前位置:首頁
> html動態(tài)更新
html動態(tài)更新(動態(tài)修改html title)
JS改變id值的寫法是objid = quotnewidquot,這個obj就是相對應(yīng)的HTML對象,比如以下HTMLltdiv id=quotoldquot這是一個divltdiv 那么JS的代碼就是documentgetElementByIdquotoldquotid=quotnewquot詳細(xì)...