Jquery toggleClass help

Hello, I am trying to code a web application and have utilized some Jquery already. I know there is a way but I am having trouble with some things.

I am trying to have a mouseclick on an image in a toolbar toggle a Class on a li element many divs away.

as well, I would like the image to swap for another image (a white star changes to a filled in blue star) when it is clicked and in turn toggles the Class on another pages li item. I have a function written to clone any li items with such a class and appendTo another UL.

So once again, I need a star image to swap to blue when it is clicked and that click will trigger a class to be toggled on a list item in another location…

any help would be appreciated

I’ve been working on this issue for a week, thanks for your help

Do you have any work that you’ve done yourself on this issue, or are you looking for one of us to do the programming work for you.