Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kirkpabk/d81b1fd8bdeb0eeda4ea to your computer and use it in GitHub Desktop.
Save kirkpabk/d81b1fd8bdeb0eeda4ea to your computer and use it in GitHub Desktop.
JQuery AutoSize and JQEasyCharCounter Addin Sample Combination Usage
//TEXTAREA AUTOGROW **AND** REMAINING CHARACTER COUNTER SETUP
//Combined jquery.autosize.js and jquery.jqEasyCharCounter.js
$("#AdditionalComment").autosize().jqEasyCounter({
maxChars: 1000,
maxCharsWarning: 995,
msgFontSize: "11px",
msgFontColor: "#000",
msgTextAlign: "left",
msgWarningColor: "#A00",
msgAppendMethod:"insertAfter"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment