codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Calculations  cwilkey at 15:04 on Monday, April 11, 2005
 

Can someone help with this. I have five text boxes perfoming a calculation. The fifth text box should be the result of the calculation. I'm trying to multiply t01 by t02 OR t03 by t04 and display the result in t05.

Here is my current code...

<script type="text/javascript">
function myCalc()
{

var t01 = document.getElementById("01");
var t02 = document.getElementById("02");
var t03 = document.getElementById("03");
var t04 = document.getElementById("04");
var t05 = document.getElementById("05");

{
var myThirdValue = t01.value * t02.value;
var myForthValue = t03.value * t04.value;

t05.value = "$" + myThirdValue.toFixed(2);
t05.value = "$" + myForthValue.toFixed(2);
}
}

</script>

  Asics Onitsuka  yifengying43 at 06:22 on Monday, September 26, 2011
 

Boeing says the revolutionary carbon fiber design will hand 20 percent <a href="http://www.asics8onitsukatigers.com/"><strong>Asics Onitsuka Tiger</strong></a> fuel savings to airlines struggling to avoid a new recession <a href="http://www.asics8onitsukatigers.com/asics-onitsuka-tiger-mexico-66-c-4.html"><strong>Onitsuka Tiger Mexico 66 Sale</strong></a>, and give passengers a more comfortable ride with better cabin <a href="http://www.asics8onitsukatigers.com/onitsuka-tiger-mexico-66-baja-c-5.html"><strong>Onitsuka Tiger Mexico 66 Baja Shoes</strong></a> air and large electronically dimmable windows.The first <a href="http://www.asics8onitsukatigers.com/onitsuka-tiger-mexico-66-deluxe-c-6.html"><strong>Onitsuka Tiger Mexico 66 Deluxe Blue</strong></a> $200 million aircraft was handed over to Japanese carrier All Nippon Airways three <a href="http://www.asics8onitsukatigers.com/onitsuka-tiger-mexico-66-lauta-c-7.html"><strong>Onitsuka Tiger Mexico 66 Lauta White</strong></a> years behind schedule after persistent delays that cost Boeing billions of dollars.

"It took a lot of hard work to get to this <a href="http://www.asics8onitsukatigers.com/onitsuka-tiger-mini-cooper-c-8.html"><strong>Onitsuka Tiger Mini Cooper Shoes</strong></a> day," said Scott Fancher, vice president and general manager <a href="http://www.asics8onitsukatigers.com/onitsuka-tiger-rotation-77-c-10.html"><strong>Onitsuka Tiger By Asics Rotation 77</strong></a> of the 787 program, at <a href="http://www.asics8onitsukatigers.com/onitsuka-tiger-ultimate-81-c-11.html"><strong>Tiger Onitsuka Ultimate 81</strong></a> the outset of two days of celebrations at the plane's Seattle <a href="http://www.asics8onitsukatigers.com/asics-gelkinsei-2-c-12.html"><strong>Asics Gel-Kinsei 2 Mens</strong></a> production plant.The blue and white-painted long-range aircraft, which boasts a <a href="http://www.asics8onitsukatigers.com/asics-top-seven-c-14.html"><strong>Asics Top Seven Shoes</strong></a> graceful new design with raked wingtips, will leave for Japan on Tuesday and enter service domestically on October 26.<a href="http://www.asics8onitsukatigers.com/"><strong>yifengying44</strong></a>

  Asics Onitsuka  yifengying43 at 06:23 on Monday, September 26, 2011
 

Boeing says the revolutionary carbon fiber design will hand 20 percent [url=http://www.asics8onitsukatigers.com/]Asics Onitsuka Tiger[/url] fuel savings to airlines struggling to avoid a new recession [url=http://www.asics8onitsukatigers.com/asics-onitsuka-tiger-mexico-66-c-4.html]Onitsuka Tiger Mexico 66 Sale[/url], and give passengers a more comfortable ride with better cabin [url=http://www.asics8onitsukatigers.com/onitsuka-tiger-mexico-66-baja-c-5.html]Onitsuka Tiger Mexico 66 Baja Shoes[/url] air and large electronically dimmable windows.The first [url=http://www.asics8onitsukatigers.com/onitsuka-tiger-mexico-66-deluxe-c-6.html]Onitsuka Tiger Mexico 66 Deluxe Blue[/url] $200 million aircraft was handed over to Japanese carrier All Nippon Airways three [url=http://www.asics8onitsukatigers.com/onitsuka-tiger-mexico-66-lauta-c-7.html]Onitsuka Tiger Mexico 66 Lauta White[/url] years behind schedule after persistent delays that cost Boeing billions of dollars.

"It took a lot of hard work to get to this [url=http://www.asics8onitsukatigers.com/onitsuka-tiger-mini-cooper-c-8.html]Onitsuka Tiger Mini Cooper Shoes[/url] day," said Scott Fancher, vice president and general manager [url=http://www.asics8onitsukatigers.com/onitsuka-tiger-rotation-77-c-10.html]Onitsuka Tiger By Asics Rotation 77[/url] of the 787 program, at [url=http://www.asics8onitsukatigers.com/onitsuka-tiger-ultimate-81-c-11.html]Tiger Onitsuka Ultimate 81[/url] the outset of two days of celebrations at the plane's Seattle [url=http://www.asics8onitsukatigers.com/asics-gelkinsei-2-c-12.html]Asics Gel-Kinsei 2 Mens[/url] production plant.The blue and white-painted long-range aircraft, which boasts a [url=http://www.asics8onitsukatigers.com/asics-top-seven-c-14.html]Asics Top Seven Shoes[/url] graceful new design with raked wingtips, will leave for Japan on Tuesday and enter service domestically on October 26.[url=http://www.asics8onitsukatigers.com/]yifengying44[/url]








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: javascript , php echo, php include
•  Re: Write text strings to Serial Port
•  how to match file data
•  Re: orphan files (owner account deleted in linux but files exists)
•  Asics Onitsuka
•  burberry outlet
•  Re: Need Javascript Multiple sidebar menu with sliding effects
•  Re: Submit button, email setup
•  Re: TO SEND Text message or URL through Clickatell


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2011