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