Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery add class except this

$('div').not(this).addClass('editable');
$('div.editable').not(this).removeClass('editable');
 
PREVIOUS NEXT
Tagged: #jquery #add #class
ADD COMMENT
Topic
Name
4+4 =