var eaclink = $('a.topLink'),
eacwrap = $('div.pan_inner');
for(var i = 0; i < eaclink.length; i++) {
eacwrap[i].wrap('<div class="panel panel-default"><div id="collapse1" class="panel-collapse collapse in"><div class="panel-body"></div></div></div>');
eaclink[i].attr("data-toggle", "collapse").attr("data-parent", "#accordion").attr("href", "collapse1");
}
How do I know whats the undefined function?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…