function pullUpAction () {
setTimeout(function () {
var el, li, i, curIndex;
el = document.getElementsByTagName('ul');
var curIndex = $(".cur").index();
for (i=0; i<1; i++) {
li = document.createElement('li');
li.innerHTML = '<a href="#">test</a>';
$(".tabcon ul").eq(curIndex).append(li);
}
myScroll.refresh();
}, 1000);
}
谢谢各位,我2了,逗比了一早上,下面放出最后的解决方案。
有遇到的朋友可以参考下。
问题:tab切换+下拉刷新,上拉加载。