jQuery Listarea

Demo

Setup

<link rel="stylesheet" type="text/css" href="stylesheets\listarea.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="javascripts\jquery.listarea.js"></script>

Sample Html

<form id="demoForm">
	<label for="listarea">List Area:</label>
	<textarea id="listarea" name="listarea"></textarea>
	<input type="submit" value="See List" />
</form>

Javascript

$('#listarea').listarea({
	effect: 'slow'
});

适用浏览器:IE8、360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗.

来源:站长素材