我怎么能用Javascript / jQuery做到这一点
$("#FN,#LN").each (function () { if ($(this).text().length > 50) $(this).text($(this).text().substring(0,50) + '...'); });
这应该工作.