4 <h1><a name=
"java_script" id=
"java_script">Java Script
</a></h1>
9 <a href=
"http://en.wikipedia.org/wiki/JavaScript" class=
"interwiki iw_wp" title=
"http://en.wikipedia.org/wiki/JavaScript">JavaScript
</a>
11 <div class=
"plugin_uparrow">
12 <a href=
"#" title=
"Back to top">
13 <img src=
"lib/plugins/uparrow/images/tango-small.png" alt=
"Back to top"/>
18 <!-- SECTION "Java Script" [1-46] -->
19 <h2><a name=
"character_counter" id=
"character_counter">Character Counter
</a></h2>
21 <pre class=
"code html4strict"><span class=
"sc2"><<a href=
"http://december.com/html/4/element/html.html"><span class=
"kw2">html
</span></a>></span>
22 <span class=
"sc2"><<a href=
"http://december.com/html/4/element/head.html"><span class=
"kw2">head
</span></a>></span>
23 <span class=
"sc2"><<a href=
"http://december.com/html/4/element/title.html"><span class=
"kw2">title
</span></a>></span>Character Counter
<span class=
"sc2"><<span class=
"sy0">/
</span><a href=
"http://december.com/html/4/element/title.html"><span class=
"kw2">title
</span></a>></span>
24 <span class=
"sc2"><<span class=
"sy0">/
</span><a href=
"http://december.com/html/4/element/head.html"><span class=
"kw2">head
</span></a>></span>
25 <span class=
"sc2"><<a href=
"http://december.com/html/4/element/script.html"><span class=
"kw2">script
</span></a> <span class=
"kw3">language
</span><span class=
"sy0">=
</span><span class=
"st0">"JavaScript
"</span>></span>
26 //Character count script- by http://www.inf.ufrgs.br/~kssilveira
27 //Credit must stay intact for use
28 <span class=
"sc2"><<span class=
"sy0">/
</span><a href=
"http://december.com/html/4/element/script.html"><span class=
"kw2">script
</span></a>></span>
29 <span class=
"sc2"><<a href=
"http://december.com/html/4/element/body.html"><span class=
"kw2">body
</span></a>></span>
30 <span class=
"sc2"><<a href=
"http://december.com/html/4/element/h1.html"><span class=
"kw2">h1
</span></a>></span>Character Counter
<span class=
"sc2"><<span class=
"sy0">/
</span><a href=
"http://december.com/html/4/element/h1.html"><span class=
"kw2">h1
</span></a>></span>
31 <span class=
"sc2"><<a href=
"http://december.com/html/4/element/form.html"><span class=
"kw2">form
</span></a> <span class=
"kw3">method
</span><span class=
"sy0">=
</span><span class=
"st0">"POST
"</span>></span>
32 <span class=
"sc2"><<a href=
"http://december.com/html/4/element/table.html"><span class=
"kw2">table
</span></a> <span class=
"kw3">border
</span><span class=
"sy0">=
</span><span class=
"st0">"0"</span> <span class=
"kw3">cellspacing
</span><span class=
"sy0">=
</span><span class=
"st0">"0"</span> <span class=
"kw3">cellpadding
</span><span class=
"sy0">=
</span><span class=
"st0">"0"</span>></span>
33 <span class=
"sc2"><<a href=
"http://december.com/html/4/element/tr.html"><span class=
"kw2">tr
</span></a>></span>
34 <span class=
"sc2"><<a href=
"http://december.com/html/4/element/td.html"><span class=
"kw2">td
</span></a> <span class=
"kw3">width
</span><span class=
"sy0">=
</span><span class=
"st0">"100%
"</span>></span>
35 <span class=
"sc2"><<a href=
"http://december.com/html/4/element/textarea.html"><span class=
"kw2">textarea
</span></a></span>
36 <span class=
"sc2"> <span class=
"kw3">rows
</span><span class=
"sy0">=
</span><span class=
"st0">"12"</span></span>
37 <span class=
"sc2"> <span class=
"kw3">name
</span><span class=
"sy0">=
</span><span class=
"st0">"charcount
"</span></span>
38 <span class=
"sc2"> <span class=
"kw3">cols
</span><span class=
"sy0">=
</span><span class=
"st0">"60"</span></span>
39 <span class=
"sc2"> wrap
<span class=
"sy0">=
</span><span class=
"st0">"virtual
"</span></span>
40 <span class=
"sc2"> <span class=
"kw3">onkeyup
</span><span class=
"sy0">=
</span><span class=
"st0">"this.form.displaycount.value = this.form.charcount.value.length
"</span>></span>
41 <span class=
"sc2"><<span class=
"sy0">/
</span><a href=
"http://december.com/html/4/element/textarea.html"><span class=
"kw2">textarea
</span></a>></span>
42 <span class=
"sc2"><<span class=
"sy0">/
</span><a href=
"http://december.com/html/4/element/td.html"><span class=
"kw2">td
</span></a>></span>
43 <span class=
"sc2"><<span class=
"sy0">/
</span><a href=
"http://december.com/html/4/element/tr.html"><span class=
"kw2">tr
</span></a>></span>
44 <span class=
"sc2"><<a href=
"http://december.com/html/4/element/tr.html"><span class=
"kw2">tr
</span></a>></span>
45 <span class=
"sc2"><<a href=
"http://december.com/html/4/element/td.html"><span class=
"kw2">td
</span></a> <span class=
"kw3">width
</span><span class=
"sy0">=
</span><span class=
"st0">"100%
"</span>></span>
46 <span class=
"sc2"><<a href=
"http://december.com/html/4/element/div.html"><span class=
"kw2">div
</span></a> <span class=
"kw3">align
</span><span class=
"sy0">=
</span><span class=
"st0">"right
"</span>></span>
47 <span class=
"sc2"><<a href=
"http://december.com/html/4/element/p.html"><span class=
"kw2">p
</span></a>></span>
49 <span class=
"sc2"><<a href=
"http://december.com/html/4/element/input.html"><span class=
"kw2">input
</span></a> <span class=
"kw3">type
</span><span class=
"sy0">=
</span><span class=
"st0">"text
"</span></span>
50 <span class=
"sc2"> <span class=
"kw3">name
</span><span class=
"sy0">=
</span><span class=
"st0">"displaycount
"</span></span>
51 <span class=
"sc2"> <span class=
"kw3">size
</span><span class=
"sy0">=
</span><span class=
"st0">"20"</span>></span>
52 <span class=
"sc2"><<span class=
"sy0">/
</span><a href=
"http://december.com/html/4/element/p.html"><span class=
"kw2">p
</span></a>></span>
53 <span class=
"sc2"><<span class=
"sy0">/
</span><a href=
"http://december.com/html/4/element/div.html"><span class=
"kw2">div
</span></a>></span>
54 <span class=
"sc2"><<span class=
"sy0">/
</span><a href=
"http://december.com/html/4/element/td.html"><span class=
"kw2">td
</span></a>></span>
55 <span class=
"sc2"><<span class=
"sy0">/
</span><a href=
"http://december.com/html/4/element/tr.html"><span class=
"kw2">tr
</span></a>></span>
56 <span class=
"sc2"><<span class=
"sy0">/
</span><a href=
"http://december.com/html/4/element/table.html"><span class=
"kw2">table
</span></a>></span>
57 <span class=
"sc2"><<span class=
"sy0">/
</span><a href=
"http://december.com/html/4/element/form.html"><span class=
"kw2">form
</span></a>></span>
58 <span class=
"sc2"><<span class=
"sy0">/
</span><a href=
"http://december.com/html/4/element/body.html"><span class=
"kw2">body
</span></a>></span>
59 <span class=
"sc2"><<span class=
"sy0">/
</span><a href=
"http://december.com/html/4/element/html.html"><span class=
"kw2">html
</span></a>></span></pre>
63 <object data=character_counter.html height=
500 width=
500 hspace=
0 vspace=
0 border=
0></object>
67 <div class=
"plugin_uparrow">
68 <a href=
"#" title=
"Back to top">
69 <img src=
"lib/plugins/uparrow/images/tango-small.png" alt=
"Back to top"/>
74 <!-- SECTION "Character Counter" [47-] -->