So I’m doing a css border change when a key is pressed in the textarea “#notes” . The code I’m currently using is
$(".button").css("border", "2px solid red");
It’s not really working. (The idea is that when someone types in the textarea, the border around the save button will turn red to indicate that there are unsaved changes).
What am I doing wrong?
Original Post: http://an.schart.net/post.php?id=29
In your code, I think you’re just forgetting the closing ); at the end of your keydown call.
I went ahead and threw this together for you:
@ChrisxClash Thank you :)
You must be logged in to reply to this topic.