Hey Sebastian,
On Mar 30, 2009, at 4:49 PM, segarva wrote:
in my CSS file I have:
*{
background-color:#ffffff!important;
}
.destacado{
background-color:green!important;
}
and, in my jQuery code:
$("a").click(function(){
$("p:last").addClass("destacado");
}
and it's working fine! the last paragraph is converted to green using !
important and addClass method.
Thanks for the suggestion anyways!
Regards,
--
Martijn.
No comments:
Post a Comment