• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamically display product of two numbers using java scripts

 
Mohammed Musa
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65118
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What code have you written so far?
 
Mohammed Musa
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i displayed the textboxes but i want to know how to rates in these text boxes.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basic JavaScript 101:

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

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic