Best Download Sites Login
Site Login

Percent Of Increase

Description
Enter two numbers and JavaScript will help you determine the percent of increase. This is a perfectly simple example of using a JavaScript return function....View A Script Demo


Do you find it confusing setting up these script?
Java Scripts Magic can do all the hard work for you all At The Touch Of A Button.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="TextPad 4.4">
<LINK href="general.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!-- Original:  Joey Mornin (jmornin@gateway.net) -->
<!-- Modified with permission by Ronnie T. Moore -->
<!-- Begin
function findIncrease(form) {
var num1 = form.num1.value;
var num2 = form.num2.value;
return ((num2 - num1) / num1 * 100 + "%");
}
//  End -->
</script>

</HEAD>

<BODY Background=../graphics/grayback.jpg>
<center><BR><BR><BR>
<form name=increaseform>
Enter the two numbers to determine the percent of increase:<p>
<input type=text name=num1 size=4> to <input type=text name=num2 size=4>
<input type=button value="Solve" onClick="this.form.answer.value = findIncrease(this.form);"><p>
The percentage of increase is <input type=text name=answer size=6>
</form>



</center>
</BODY>
</HTML>
 

Business Proposal If you have a Business Proposal that you think may be of interest to us here at Best Download Sites please contact us to discuss the matter in further detail