<!-- X characters remaining example http://alloyui.com/tutorials/ --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example</title> <script src="http://cdn.alloyui.com/2.0.0/aui/aui-min.js"></script> <link href="http://cdn.alloyui.com/2.0.0/aui-css/css/bootstrap.min.css" rel="stylesheet"> </head> <body> <input type="text" id="some-input" /> <span id="counter"></span> character(s) remaining <script> YUI().use( 'aui-char-counter', function(Y) { new Y.CharCounter( { counter: '#counter', input: '#some-input', maxLength: 10 } ); } ); </script> </body> </html> AlloyUI’s character counter reports the number of characters you can enter in the text fie...