I'm working on getting my search boxes to change color when clicked, but currently it only changes color while I am holding down the mouse button. Once I release the cursor, it reverts back to its original color. How can I make it so that it changes color permanently until something else on the page is clicked (even white space), then it returns to its original color?
Here's an example:
Cheers!
James