I there,
I'm using this javascriptkit.com word counter to count words in my web site:
<script language="JavaScript">
function countit(){
/*Word count script
By JavaScript Kit (Over 400+ free scripts here!
*/
var formcontent=document.wordcount.wordcount2.value
formcontent=formcontent.split(" ")
document.wordcount.wordcount3.value=formcontent.length
}
</script>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><textarea rows="12" name="wordcount2" cols="60" 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"><center><p><font face="arial" size="-2">This free script provided by</font>
<font face="arial, helvetica" size="-2"><a href=" Kit</a></font></p>
</center></div></div></td>
</tr>
</table>
</form>
I would like to know how can i make the result of the word count be multiplyed by selecting one of the currencies in this menu:
<form name="form1" method="post" action="">
<select name="Currency" id="Currency">
<option value="0" selected>Select Currency</option>
<option value="0.09">Euros</option>
<option value="0.11">US Dollars</option>
<option value="0.06">GB Pounds</option>
<option value="0.25">Reais</option>
<option value="0.13">CA Dollars</option>
<option value="9.2">AOA</option>
<option value="2916.45">MZM</option>
<option value="9.92">CVA</option>
</select>
</form>
Here's the general ideia: A visitor would count his text's words in the word count text box, then he would select the type of currency he would like, and automatically the result of the multiplication of the number of words by the value of the currency would appear in a small text box next to the menu.
I know that this is not much but if someone can make this work i will include his name/nickname/web page in my web site's thanks page.
Thanks in advance.
BTW: The web page is Some opinions about it would be very welcomed (good or bad)
I'm using this javascriptkit.com word counter to count words in my web site:
<script language="JavaScript">
function countit(){
/*Word count script
By JavaScript Kit (Over 400+ free scripts here!
*/
var formcontent=document.wordcount.wordcount2.value
formcontent=formcontent.split(" ")
document.wordcount.wordcount3.value=formcontent.length
}
</script>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><textarea rows="12" name="wordcount2" cols="60" 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"><center><p><font face="arial" size="-2">This free script provided by</font>
<font face="arial, helvetica" size="-2"><a href=" Kit</a></font></p>
</center></div></div></td>
</tr>
</table>
</form>
I would like to know how can i make the result of the word count be multiplyed by selecting one of the currencies in this menu:
<form name="form1" method="post" action="">
<select name="Currency" id="Currency">
<option value="0" selected>Select Currency</option>
<option value="0.09">Euros</option>
<option value="0.11">US Dollars</option>
<option value="0.06">GB Pounds</option>
<option value="0.25">Reais</option>
<option value="0.13">CA Dollars</option>
<option value="9.2">AOA</option>
<option value="2916.45">MZM</option>
<option value="9.92">CVA</option>
</select>
</form>
Here's the general ideia: A visitor would count his text's words in the word count text box, then he would select the type of currency he would like, and automatically the result of the multiplication of the number of words by the value of the currency would appear in a small text box next to the menu.
I know that this is not much but if someone can make this work i will include his name/nickname/web page in my web site's thanks page.
Thanks in advance.
BTW: The web page is Some opinions about it would be very welcomed (good or bad)