User talk:SteveBaker

From Wikiid
Revision as of 17:24, 23 November 2007 by SteveBaker (Talk | contribs) (BR)

Jump to: navigation, search

<SCRIPT LANGUAGE="JavaScript">function convertIt() { var centy=0; centy=document.Converter.centigrade.value; document.Converter.faren.value=centy*9/5+32;}</SCRIPT>

is called when the user moves out of the centigrade input box (onBlur):

<form name="Converter"> Enter the Centigrade temperature: <input type=text name="centigrade" size=10 onblur="convertIt()">
View the Farenheit temperature: <input type=text name="faren" size=10>