I have an image within a header 3 tag and I have a jquery function that expands and collapses the table. I need to change the expand / collapse icon when the function is done, which I can do. My question is can I change the image that is within the h3 tag even if it doesn’t have an id?
So something like:
$(this.img).css("backgroundImage", "url(images/expand.png)");
Or since you have a reference within the toggle: