Here is my problem: On my form I have to enter a whole number in each Coin Value field as it is part of my XML stream to the server. However, I want that number to "appear" in proper US currency format on screen on the "onBlur" event.
Example I enter 25 in the field (which is tramsmitted as 25 as pert of XML upload stream) but on the screen form I need this number to appear as $0.25
to give proper feedback to teh user. Here is a copy of the form I am using. (Once I get this problem worked out I then have to incorporate this fuction into several other web forms.)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


</script>

<link href="./Wavereader.css" rel="stylesheet" type="text/css" />

<style type="text/css">
body,td,th
{
font-size: 12px;
text-align: left;
}
body
{
margin-left: 0px;
margin-top: 25px;
}
h1
{
font-size: 24px;
}
</style>
</head>

<body onload="initPage();" onunload="">
<form method="POST" name="machine_form" onsubmit="return doValidate();">
<table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<table width="400" border="0" align="center" cellpadding="0" cellspacing="0">
<caption>
<h1>Alliance MDC Pulse Dryer</h1>
</caption>
<tr>&nbsp;</tr>
<tr>
<td align="left"><label>Coin Input Type</label></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td align="right"><label>Coin Value</label></td>
</tr>
<tr>
<td align="left">
<label><input name="coinType" type="radio" id="RadioGroup1_0" value="N" checked="checked" onclick="enableCoinEdit();" />
None</label></td>
<td align="left">
<label><input name="coinType" type="radio" id="RadioGroup1_1" value="D" onclick="enableCoinEdit();"/>
Coin Drop</label></td>
<td align="left"><label>
<input name="coinType" type="radio" id="RadioGroup1_2" value="S" onclick="enableCoinEdit();"/>
Coin Slide</label></td>
<td align="left">
<input name="coinValue" type="text" value="150" size="5" onChange="parseelement(this)","validateCoinValue();"/>
&nbsp;&nbsp;
</td>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</tr>
<tr>
<td><label>Cycle Data</label></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><input name="ForcedVend" type="checkbox" /><label>Forced Vend</label></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><label>Cycle Price</label></td>
<td><label>Start Pulses</label></td>
<td><label>Cycle Time</label></td>
<td>&nbsp;</td>
</tr>
<tr>
<td><input name="CyclePrice" type="text" value="150" size="5" onChange="parseelement(this)","validateCyclePrice();"/></td>
<td><input name="LowerStartPulses" type="text" value="4" size="3" onChange="validateLowerStartPulses();"/></td>
<td><input name="CycleTime" type="text" value="45" size="5" onChange="validateCycleTime();"/></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><label>Topoff Data</label></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><label><input name="topoffCheck" type="checkbox" value="8" onclick="enableTopoffEdit()"; />
Topoff Mode</label>
</td>
<td>
<label><input name="incrementalCheck" type="checkbox" value="128" onclick="enableIncrementalEdit()"; />
Incremental Mode</label>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>
<label>Topoff Price</label></td>
<td>
<label>Topoff Pulses</label></td>
<td>
<label>Topoff Time</label>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>
<input name="TopoffPrice" type="text" value="25" size="5" onChange="parseelement(this)","validateTopoffPrice();"/></td>
<td>
<input name="TopoffPulses" type="text" value="4" size="3" onChange="validateTopoffPulses();"/></td>
<td>
<input name="TopoffTime" type="text" value="9" size="5" onChange="validateTopoffTime();"/></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<input name="Defaults" type="button" value="Defaults" onclick="DefaultData()"/>
<input name="Cancel" type="button" onclick="closeWin('Cancel')" value="Cancel" /></td>
<td><input name="Save" input type="button" id="btnDone" value="Save" onClick="buildConfigStr()" />
</td>
<td>&nbsp;</td>
<tr>
<tr>&nbsp;</tr>
</table>
</form>
</table>
</body>
</html>