Demo of textarea counter


0


  • Video Tutorial on JQuery UI Progress Bar

html

<textarea name=t1 rows=4 class='form-control' id=t1></textarea>
<br><div id=d1>0</div>

JQuery

<script>
$(document).ready(function() {
//////////////////////////
$('#t1').keyup(function(){
$("#t1").attr('maxlength','50');
var str=$('#t1').val();
$('#d1').html(str.length);
})
////////////
})
</script>
Demo of textarea counter with progress bar


plus2net.com









Most Popular JQuery Scripts

1

Two dependant list boxes

2

Calendar with Date Selection

3

Data change by Slider

4

Show & Hide element


JQuery Video Tutorials




We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2020 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer