Return to Snippet

Revision: 36423
at November 22, 2010 01:16 by kreamweb


Initial Code
// 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)").

Initial URL

                                

Initial Description

                                

Initial Title
jQuery Selector

Initial Tags
jquery

Initial Language
JavaScript