Change background color div before

forumasik.com

New Member
I need change the backgrou nd color of the div "#cont-comentarios" when i click on checkbox. That will works on a loop so i need use 'this'. I've tried a lot before ask here.Folow the code here for a better view:\[code\]<div id="cont-comentario" style="margin-bottom: 10px; background:#eee; padding: 10px;"> <p> <label> <input type="checkbox" id="atualizaComentario"/> Ativo </label> </p></div>\[/code\]http://jsfiddle.net/9pMKy/
 
Back
Top