New response to: I need to add some js to a jqm collapsible element to hide an image and then reshow it.
I 'll try to make the problem more clear
first the collapsible content has an image shown like this.... (+) and the image is within the bar not like your sample (+) the word image
then clicking on the image as shown above the collapsible content is shown like this with a (-) Bar minus the image and the collapsible content below it.
Now what I would like to do is when i click on the (-) bar is to restore the image or re-attach it ...back to it's original state and collapsibling the text.
I hope I have made this problem more clear.