wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes Dynamically display product of two numbers using java scripts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dynamically display product of two numbers using java scripts " Watch "Dynamically display product of two numbers using java scripts " New topic
Author

Dynamically display product of two numbers using java scripts

Mohammed Musa
Greenhorn

Joined: Jun 12, 2007
Posts: 6
please on this

I want to enter dollar rate against pound in one text box, then i have many other text boxes that displays the dollar currency but with its corresponding text box which give the equivalent in pound and applying the rate given above.

I aslo want to pass the above result in to another page. how do i do these using java script

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61449
    
  67

What code have you written so far?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mohammed Musa
Greenhorn

Joined: Jun 12, 2007
Posts: 6
i displayed the textboxes but i want to know how to rates in these text boxes.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Basic JavaScript 101:

The pieces:
document.formName.elementName.value
parseFloat()
*
onclick/onchange

Eric
 
Consider Paul's rocket mass heater.
 
subject: Dynamically display product of two numbers using java scripts