81,094
社区成员
发帖
与我相关
我的任务
分享
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script>
<script>
$(function(){
$('A').each(function() {
var txt = $(this).text();
if (txt.length > 30) {
$(this).text(txt.substr(0,30)+'...');
}
});
});
</script>
</head>
<body>
<a href="http://www.sina.com.cn">http://blog.fusioncharts.com/2009/05/export-your-charts-as-images-or-pdfs/</a>
<a href="http://topic.csdn.net/u/20120807/10/b506f0b5-2c1e-40e9-bfbc-72c3f882c157.html?99499">http://topic.csdn.net/u/20120807/10/b506f0b5-2c1e-40e9-bfbc-72c3f882c157.html?99499</a>
</body>
</html>