If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

how to toggle pictures with only javascript?

I'm trying to do this with javascript instead of jquery. I want to click on a picture then the picture will have borders but if I click on it again then the border will be gone. don't have much idea how it's done anyone can give me a hand?