I am trying to remove a CSS property from all elements with a certain class. I tried this but it did not work.
$(document).ready(function(){
$(".TABlink").click(function(){
$('.TABlink').css('background-image','')
}); });
That is supposed to remove a background image from all elements with that class if one of them is clicked. Not working.
Any ideas,
Marvellous
Try this, maybe it doesn’t like empty property value: