$(document).ready(function () { $('dl.tab').each(function (index, element) { $(this).KandyTabs({ trigger: "hover" }); }); });