Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

73 lines (62 sloc) 2.19 KB
<html manifest="cache.manifest">
<meta name="author" content="PotHix" />
<meta name="description" content="Test page" />
<meta name="generator" content="VIm" />
<meta name="keywords" content="Test page" />
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="jquery/" />
<script type="text/javascript" src="jquery/jquery.min.js"></script>
<script src="jquery/jquery.min.js"></script>
<script src="jquery/"></script>
New tags to be added, just waiting the icon images
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="shortcut icon" href="/favicon.ico">
<div data-role="page" id="maintenance">
<div data-role="header">
<div data-role="content">
<ul data-role="listview">
<li data-role="fieldcontain">
<label for="money">Money:</label>
<input type="number" name="money" id="money" value="1000" />
<li data-role="fieldcontain">
<label for="monthly_tax">Monthly tax:</label>
<input type="number" name="monthly_tax" id="monthly_tax" value="0.6" />
<li data-role="fieldcontain">
<label for="years">Years:</label>
<input type="number" name="years" id="years" value="1" />
<li class="ui-body ui-body-b">
The result is: R$ <span id="vf">_________</span>
<li class="ui-body ui-body-b">
<button id="button" data-theme="a">Calc</button>
<div data-role="footer"><h4>PotHix VF - 2011</h4></div>
<script type="text/javascript">
var result = 0;
var money = parseFloat($("#money").val());
var monthly_tax = parseFloat($("#monthly_tax").val());
var years = parseInt($("#years").val());
result = money*(Math.pow(1+(monthly_tax*12/100),years));
Jump to Line
Something went wrong with that request. Please try again.