$("table").addClass("table table-striped"); $("ul.tricks").wrap('