if(prev_clicked)
{
$(\"#accordion li a.category\").css(\'background-image\', \'url(\"img/off_all_channel.png\")\');
$(\"#accordion li
This is literally a copy paste from this answer, and I use it to clear CSS style that I added with jQuery in a previously executed function.
To remove the in-line CSS property use:
$('.className').css({propertyName: ''});
To remove the whole in-line style of an element use:
$('.className').removeAttr('style');
OR by ID:
$('#idName').removeAttr('style');