why_aa
2015-11-10 16:43
function $(id){ return typeof id==='String'?document.getElementById(id):id; } window.onload= function(){ var titles=$("#notice-tit").getElementsByTagName("li"), divs=$("#notice-con").getElementsByTagName("div"); alter(titles.length); 为什么我弹不出来求解
因为是alert
请问这个alert为什么没有弹出来呀?亲 卡了我2天了
我的为什么弹不出来 alert
Uncaught TypeError: $(...).getElementsByTagName is not a function 报这个错误不知道怎么回事
$(id) 有可能和javaScript里面的起冲突
alert();
Tab选项卡切换效果
65465 学习 · 581 问题
相似问题