jquery-1.3.2.min.js和JS代码冲突
代码太多了放不进来阿我就把有问题的代码发出来varfocusBtnList=$('ifocus_btn').getElementsByTagName('li');怎么改进...
代码太多了放不进来阿 我就把有问题的代码发出来
var focusBtnList = $('ifocus_btn').getElementsByTagName('li');
怎么改进能不冲突呢
Uncaught exception: TypeError: '$('ifocus_btn').getElementsByTagName' is not a function
Error thrown at line 114, column 1 in autoiFocus() in file://localhost/E:/new/js/js.js:
var focusBtnList = $('ifocus_btn').getElementsByTagName('li');
called from line 1, column 0 in program code:
autoiFocus() 展开
var focusBtnList = $('ifocus_btn').getElementsByTagName('li');
怎么改进能不冲突呢
Uncaught exception: TypeError: '$('ifocus_btn').getElementsByTagName' is not a function
Error thrown at line 114, column 1 in autoiFocus() in file://localhost/E:/new/js/js.js:
var focusBtnList = $('ifocus_btn').getElementsByTagName('li');
called from line 1, column 0 in program code:
autoiFocus() 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询