jQuery node replacement
Node replacement
##replaceWith(content): Replace all matching elements with the specified HTML or DOM element
$("select").replaceWith(content);
$('select') is replaced by content
- ##replaceAll(selector): Replace all selector matches with matching elements The element to
-
$('content').replaceAll(select);
php.cn 节点替换
- A
- B
- C
- a
- b
- c