andrew1234
11-08-2002, 08:02 AM
Hi
can anyone please tell me why i'm not able to
(I'm new to functions)
see my document.write() on my html page
in the below function.
--------------------------------------------------
<script language =javaScript>
function Ccent(degfahren)
{
var degCent = 5/9 * (degfahren -32);
return degcent;
}
Ccent(55);
document.write( "change to " + degcent);
</script>
---------------------------------------------------------
thanks
andrew
can anyone please tell me why i'm not able to
(I'm new to functions)
see my document.write() on my html page
in the below function.
--------------------------------------------------
<script language =javaScript>
function Ccent(degfahren)
{
var degCent = 5/9 * (degfahren -32);
return degcent;
}
Ccent(55);
document.write( "change to " + degcent);
</script>
---------------------------------------------------------
thanks
andrew