TrixKing | How To Blogger

Pages

  • Home
  • SEO
  • Softwares
  • Games
  • How-Tos
  • Sitemap

1 Jan 2012

Currency Conversion Using JavaScript

Tweet

If you have a bit knowledge of HTML and Css, you might also want to know some of the javascript methods to make own scripts for the users of your website or blog. 
Convert dollars to rupees :  

Convert Rupees to dollars:  

How to Use the Code:
It is very simple to use the code,
Step-1: Open notepad editor. and save it with Name.html.
Step-2: Now paste the below code.

<html><head><title> Currency Coversion</title<body> 
<script type="text/javascript">
function con(){
var dol=prompt("Please enter dollors");
Rs=dol*90;
alert(Rs+"Ruffees");

}

function coc(){
var Rs=prompt("Please enter ruffees");
dol=Rs*1/90;
alert(dol+"       dollars");
}
</script>
</body></html>
Step-3:  Now open it in your Favorite browser such as IE, Google Chrome or Mozila Firfox.
Once you get the result then study the code.
Please Share it! :)
Posted by Unknown at Sunday, January 01, 2012 Email This BlogThis! Share to X Share to Facebook
Labels: How To

2 comments :

  1. Unknown19 November 2012 at 21:35

    yeah i created this simple converter using javascript. share your views about it.

    ReplyDelete
    Replies
      Reply
  2. Asim19 November 2012 at 21:36

    cool dude. but now dollar raise to 95 rs.
    however i estimate it for myself

    ReplyDelete
    Replies
      Reply
Add comment
Load more...

Newer Post Older Post

Search

Follow on Google+

Blogger

  • Blogger Widgets
  • How to Blogger
  • Tips and Tricks
  • Free internet phone calls

Like Facebook Page

Powered by Blogger.

Total Pageviews

 
Copyright © 2013 TrixKing | How To Blogger . Designed by Kamran Khan | Privacy policy