标签:blog ar div on log html ef htm as
1、var domObj = $("<dom>");
2、var a = $("<a href=‘www.baidu.com‘>");
3、alert(a.prop("outerHTML"));
//另外一种方法clone复制一份参数true表示同时复制事件
that.clone(true).prependTo(that.parent());
that.remove();
jquery 创建jquery的dom对象---------------获取自身的html节点及其子节点的html
标签:blog ar div on log html ef htm as
原文地址:http://www.cnblogs.com/q446223455/p/4013276.html