Wordcount
Page 1 of 1
Wordcount
<form method="POST" name="wordcount">
<script language="JavaScript">
function countit(){
var formcontent=document.wordcount.wordcount2.value
formcontent=formcontent.split(" ")
document.wordcount.wordcount3.value=formcontent.length
}
</script>
<table bgcolor="black" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><textarea style="background:#99FFFF" rows="12" name="wordcount2" cols="20" wrap="virtual"></textarea></td>
</tr>
<tr>
<td width="100%"><div align="right"><p><input type="button" value="Calculate Words"
onClick="countit()"> <input type="text" name="wordcount3" size="20"></p>
<div align="center"></p>
</center></div></div></td>
</tr>
</table>
</form>
<script language="JavaScript">
function countit(){
var formcontent=document.wordcount.wordcount2.value
formcontent=formcontent.split(" ")
document.wordcount.wordcount3.value=formcontent.length
}
</script>
<table bgcolor="black" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><textarea style="background:#99FFFF" rows="12" name="wordcount2" cols="20" wrap="virtual"></textarea></td>
</tr>
<tr>
<td width="100%"><div align="right"><p><input type="button" value="Calculate Words"
onClick="countit()"> <input type="text" name="wordcount3" size="20"></p>
<div align="center"></p>
</center></div></div></td>
</tr>
</table>
</form>
Wordcount a box within a box
<form method="POST" name="wordcount">
<script language="JavaScript">
function countit(){
var formcontent=document.wordcount.wordcount2.value
formcontent=formcontent.split(" ")
document.wordcount.wordcount3.value=formcontent.length
}
</script>
<table id="shell" bgcolor="black" border="1" height="20" width="30">
<tr><td>
<table id="inner" bgcolor="yellow" height="50" width="50">
</script>
<table bgcolor="black" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><textarea style="background:#99FFFF" rows="12" name="wordcount2" cols="20" wrap="virtual"></textarea></td>
</tr>
<tr>
<td width="100%"><div align="right"><p><input type="button" value="Calculate Words"
onClick="countit()"> <input type="text" name="wordcount3" size="20"></p>
<div align="center"></p>
</center></div></div></td>
</tr>
</table>
<tr><td></td></tr>
</table>
</td></tr></table></form>
<script language="JavaScript">
function countit(){
var formcontent=document.wordcount.wordcount2.value
formcontent=formcontent.split(" ")
document.wordcount.wordcount3.value=formcontent.length
}
</script>
<table id="shell" bgcolor="black" border="1" height="20" width="30">
<tr><td>
<table id="inner" bgcolor="yellow" height="50" width="50">
</script>
<table bgcolor="black" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><textarea style="background:#99FFFF" rows="12" name="wordcount2" cols="20" wrap="virtual"></textarea></td>
</tr>
<tr>
<td width="100%"><div align="right"><p><input type="button" value="Calculate Words"
onClick="countit()"> <input type="text" name="wordcount3" size="20"></p>
<div align="center"></p>
</center></div></div></td>
</tr>
</table>
<tr><td></td></tr>
</table>
</td></tr></table></form>
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum