Skip to content

Instantly share code, notes, and snippets.

@mtigdemir
Created March 24, 2015 08:27
Show Gist options
  • Save mtigdemir/4e2cfece42e3e0442fb5 to your computer and use it in GitHub Desktop.
Save mtigdemir/4e2cfece42e3e0442fb5 to your computer and use it in GitHub Desktop.
$("#textarea").keyup(function(){
$("#count").text("Characters left: " + (500 - $(this).val().length));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment