Please enable JavaScript.
Coggle requires JavaScript to display documents.
JQuery Methods (elements (:eq(n) (bira (po, index, :star:), $('.third…
JQuery Methods
elements
:last
:even
:odd
:first_place_medal:
:first
.classFirst li:first
:eq(n)
$('.third li:eq(2)')
bira
po
index
:star:
:gl(n)
:lt(n)
classes
$('p[class]').addClass('special');
P tagovi
sa
atribut
class
hasClass()
vraća
boolean
removeClass()
briše
sve
kada
nema
argument
toggleClass
css()
attributes
$('p[href='#'].addClass('dummyLink')')
don't
match
$('p[href!='#'].addClass('regularLink')')
$('p[href^='http'].addClass('externalLink')')
start
with
$('p[href$='org'].addClass('orgLink')')
$('selector').html('string')
adding
text
content
$('div>span').css('color', 'red');
first
child
$('#main h1+h2').css('color', 'red')
siblings
css()
i kao
JSON
par
ključ, vrednost
strings
hide()