1.可以通过javascript拼接方式:
var ifr = "<ifr";
ifr += "ame width='100%' height='600' class='share_self' frameborder='0' scrolling='no' src=''></ifr";
ifr += "ame>";
$("#tmp").after(ifr);
2.使用使用createElement
var iii = document.createElement('iframe');
iii.src = '';
iii.height = 600;
iii.width = '100%';
iii.className = 'share_self';
iii.scrolling = 'no';
$("#tmp").after(ifr);