當前位置:首頁
> htmlselect刪除選項
htmlselect刪除選項(html刪除無用的js和css)
if typeof selectObj != #39object#39 selectObj = documentgetElementByIdselectObj 原有選項計數(shù) var len = for var i=0 i lt len i++ 移除當前選項 selectObj;思路通過for循環(huán)判斷...