我试图使一个领域与面板共用箱相类似,你可以进入圆顶,并向你提供网页、标题、图片等数据。 我已经设立了一个服务器辅助服务,以便从该网页上接手,并试图获得页标题。 我试图这样做:
function getLinkData(link) {
link = /Home/GetStringFromURL?url= + link;
$.ajax({
url: link,
success: function (data) {
$( #result ).html($(data).find( title ).html());
$( #result ).fadeIn( slow );
}
});
}
which doesn t work, however the following does:
$(data).appendTo( #result )
var title = $( #result ).find( title ).html();
$( #result ).html(title);
$( #result ).fadeIn( slow );
but I don t want to write all the HTML to the page as in some case it redirects and does all sorts of nasty things. Any ideas? Thanks
页: 1