So I have a text area with borders that look something like this:

Any idea how I should go about changing border color on focus?
Obviously it would be easy if it had regular css border instead of images, but I’m not sure how to do it like this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do it using the same kind of method you would use for non-image implementations:
Obviously your border is more complex than this, but you can see the concept is the same. If you are using nested elements, it should still work. If you get stuck, show some code and I’ll do my best to help.