一:
$(html,[ownerDocument])
示例:
$("<div><p>Hello</p></div>").appendTo("body");
二:$(html,props)
示例:
$("<input>", {
type: "text",
val: "Test",
focusin: function() {
$(this).addClass("active");
},
focusout: function() {
$(this).removeClass("active");
}
}).appendTo("form");
http://jquery.cuishifeng.cn/jQuery_html_ownerDocument.html