i am sorry for this simple thing, but the image change doesn’t work with this. i’ve tried a lot of options but maybe i can not see the problem.
$('#accordion li.first').click(function() {
if ($(this).children('img').attr('src','img/drop.png')) {
$(this).children('img').attr('src','img/drop90.png');
}
if ($(this).children('img').attr('src','img/drop90.png')) {
$(this).children('img').attr('src','img/drop.png');
}
});
1 Answer