1933 次
1 に答える
1
Because data attributes are part of the HTML 5 spec. Use <!DOCTYPE html>
to specify the HTML 5 doctype
Taken from here
OR
Put your link code into document.write so you'll have
strTwittsViewer.Append(@"<script language=""javascript"" type=""text/javascript"">");
strTwittsViewer.Append(@"//<![CDATA[");
strTwittsViewer.Append(@"document.write('<span class=""cssClassFollowButton""><a href=\""https://twitter.com/Shree\"" class=\""twitter-follow-button\"" data-show-count=\""false\"">Follow @Shree</a>"");");
strTwittsViewer.Append(@"//]]>");
strTwittsViewer.Append(@"</script>");
于 2012-04-09T05:28:50.183 に答える