Hi,

I have a slight problem (mostly my brain has stopped working!). All I'm trying to do is have an image which the border is added on click, and removes the border onclick again.

Code:
<img src=\"".$targetPath.$file."\" ".imageResize($mysock[0], $mysock[1], 150)." border=\"0\" onClick=\"this.style.border='3px solid #e25e00';\">
That works fine, but how can I change it back on another click?

Thanks.