/ Published in: JavaScript

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Chaining $('div.signup').css('opacity', 0.4).show('slow').addClass('special'); // Chaining on multiple lines $('div.signup') .css('opacity', 0.4) .show('slow') .addClass('special'); //per selezionare l'immagina con il titolo "elefante" $('img[title="elephant"]'). //first child selector $("ul li:first-child"). //last child selector $("ul li:last-child"). //se si vogliono selezionare tutti i link tranne quelli con class comments_link $("a :not(.comments_link)").
Comments
