$(function () { //二级域名 $("span.domain").html($.trim($("td.domain").text())); });