Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
pQuery
IQuery
replaceWith
pQuery\IQuery::replaceWith PHP Method
IQuery Interface Documentation
Show file
Open project: tburry/pquery
replaceWith()
public
method
Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
public
replaceWith
(
string
$content
)
$content
string
The content that will replace the nodes.
function replaceWith($content);
IQuery
addClass
after
append
attr
before
clear
hasClass
html
prepend
prop
remove
removeAttr
removeClass
replaceWith
tagName
text
toggleClass
unwrap
val
wrap
wrapInner