Skip to content

A very simple lightweight jQuery tooltip plugin for limiting textarea input and counting it :)

Notifications You must be signed in to change notification settings

andrefigueira/LimitCounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LimitCounter

A very simple lightweight jQuery tooltip plugin for limiting textarea input and counting it :)

Usage (JavaScript)

$(document).ready(function(){
			
	$('input').limitCounter({
		limit: 140,
		counterClass: 'input',
		suffix: 'characters left'
	});
	
	$('textarea').limitCounter({
		limit: 140
	});
	
});

Usage (HTML)

<input type="text" name="test2" id="test2" placeholder="Type something in this text input!" />
<textarea name="test" id="test" placeholder="Type something in this textarea"></textarea>

About

A very simple lightweight jQuery tooltip plugin for limiting textarea input and counting it :)

Resources

Stars

Watchers

Forks

Packages

No packages published