Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
pQuery
IQuery
addClass
pQuery\IQuery::addClass PHP Method
IQuery Interface Documentation
Mostra file
Open project: tburry/pquery
addClass()
public
method
Adds the specified class(es) to each of the set of matched elements.
public
addClass
(
string
$classname
) :
pquery\IQuery
$classname
string
The name of the class to add. You can add multiple classes by separating them with spaces.
return
pquery\IQuery
function addClass($classname);
IQuery
addClass
after
append
attr
before
clear
hasClass
html
prepend
prop
remove
removeAttr
removeClass
replaceWith
tagName
text
toggleClass
unwrap
val
wrap
wrapInner