|
发表于 2014-5-17 18:26:05
|
显示全部楼层
一座桥梁竣工后的施工总结,竣工资料中写施工总结时可参考哟一座桥梁竣工后的施工总结,竣工资料中写施工总结时可参考哟 var $name = $('.author-name'); if($name.text().length == 0){ $name.parent().remove(); } var _ = $('.description'); if(_.text().length == 0){ _.text('无').addClass('c888'); } //else if(_.text().length > 108){ //var copyText = _.text(); //_.text(copyText.substr(0,108) + '...'); //$('.downloadExplanation .showAll').css('display','inline-block'); //} $('.downloadExplanation .showAll').one('click',function(){ _.text($('.description-backup').text()); $(this).css('display','none'); })
|
|