1、对于"单个"的js语句:$(function(){ var header = $(".wyl_xinwen_mid_mk_p1")[0]
$clamp(header, {clamp: 3, useNativeClamp: false});})
2、对于使用“<c:foreach>”标签的js语句:
$(function(){<c:forEach items="${pols }" var="pol">
var header = $(".wyl_main_new_p${pol.id}")[0]
$clamp(header, {clamp: 3, useNativeClamp: false});
</c:forEach>
});