Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » Java Script- What is wrong
Re: Java Script- What is wrong [message #229453 is a reply to message #229446] Mon, 06 November 2006 21:10 Go to previous message
Nodbugger is currently offline  Nodbugger
Messages: 976
Registered: February 2003
Karma:
Colonel
Never mind, I got it.

<html>
<head>
<title>Conversion - Dollars and Euros</title></head>
<body bgcolor="FFFFF"><font face="Times New Roman"><center>
<h1><i>Currency Converter</i></h1>
<table border=1 cellpadding=0 cellspacing=0 width=20%>
<TR><TD bgcolor="maroon" align=center>
<table broder=0 cellpadding=0 cellspacing=2>
<tr><td></td></tr></table>
</td></tr></table>

<script language="Javascript">
function convertD2E (priceInD) {return .79*priceInD;}
function convertE2D (priceInE) {return 1.27*priceInE;
}


</script>


<form name="amount">

<h2> <i>US $:</i>
<input type=text name="textPriceD" size=4
<INPUT type="button" value="Convert to €" name="button1" onClick="document.amount.textPriceE.value = convertD2E(document.amount.textPriceD.value)"> 


<h2> <i>EU €:</i>
<input type=text name="textPriceE" size=4
<INPUT type="button" value="Convert to $" name="button2" onClick="document.amount.textPriceD.value = convertE2D(document.amount.textPriceE.value)"> 
<br>
<br>
<table border=1 cellpadding=0 cellspacing=0 width=20%>
<TR><TD bgcolor="maroon" align=center>
<table broder=0 cellpadding=0 cellspacing=2>
<tr><td></td></tr></table>
</td></tr></table>

<input type="reset" value="Reset">

</form></center>

</body>
</html>


http://www.n00bstories.com/image.fetch.php?id=1129285834
 
Read Message
Read Message
Previous Topic: PLEASE HELP
Next Topic: Lookin for No-cd crack
Goto Forum:
  


Current Time: Sat Nov 30 08:11:35 MST 2024

Total time taken to generate the page: 0.00693 seconds