here I use four div's when i click a first div, other all div are getting opacity its working fine,I want when I move to other div first div still no change to opacity
$(document).ready(function () {
$(".category-item").click(function () {
$(this).addClass("black");
$(".category-item").addClass("blue");
});
});
thanks in advance,
opacity : unset, I had to spend a minute looking it up in the standard, as I haven't seen that one before. I couldn't find anything that says you can pass strings toopacity, it has to be a number between zero and one.