mattquantic
Programmer
Hi. All of my dropdowns are generated dynamically. But, html chars like the degree symbol don't come out right if I use JS... but come out fine in html.
For example -
<form name="thisForm" method="post" action="">
<input type="Text" value="° f">
<input type="Text" value="" name="temp1">
</form>
<script type="text/javascript" language="JavaScript">
document.thisForm.temp1.value = "°";
</script>
Is there a way to get it to render the symbol properly?
M@)
For example -
<form name="thisForm" method="post" action="">
<input type="Text" value="° f">
<input type="Text" value="" name="temp1">
</form>
<script type="text/javascript" language="JavaScript">
document.thisForm.temp1.value = "°";
</script>
Is there a way to get it to render the symbol properly?
M@)