code
<html>
<head>
<title>Simple Javascript Calculator - Basic Arithmetic Operations</title>
<script language="javascript" type="text/javascript">
function multiply(){
a=Number(document.calculator.number1.value);
b=Number(document.calculator.number2.value);
c=a*b;
document.calculator.total.value=c;
}
</script>
<script language="javascript" type="text/javascript">
function addition(){
a=Number(document.calculator.number1.value);
b=Number(document.calculator.number2.value);
c=a+b;
document.calculator.total.value=c;
}
</script>
<script language="javascript" type="text/javascript">
function subtraction(){
a=Number(document.calculator.number1.value);
b=Number(document.calculator.number2.value);
c=a-b;
document.calculator.total.value=c;
}
</script>
<script language="javascript" type="text/javascript">
function division(){
a=Number(document.calculator.number1.value);
b=Number(document.calculator.number2.value);
c=a/b;
document.calculator.total.value=c;
}
</script>
<script language="javascript" type="text/javascript">
function modulus(){
a=Number(document.calculator.number1.value);
b=Number(document.calculator.number2.value);
c=a%b;
document.calculator.total.value=c;
}
</script>
</head>
<body>
<form name="calculator">
Number 1: <input type="text" name="number1">
Number 2: <input type="text" name="number2">
Get Result: <input type="text" name="total">
<input type="button" value="ADD" onclick="javascript:addition();">
<input type="button" value="SUB" onclick="javascript:subtraction();">
<input type="button" value="MUL" onclick="javascript:multiply();">
<input type="button" value="DIV" onclick="javascript:division();">
<input type="button" value="MOD" onclick="javascript:modulus();">
</form>
</body>
</html>
view
Apple soon realised the marketing and entertainment
ReplyDeletepotential that the little device held. Many people try to do their own
hard drive failure recovery , not realizing the irreversible damage
even the simplest action can have. Will you be able to organize the technical
skills needed to cater to such a varied scenario? MS SQL Server is the database management application that is basically diminished into various allocation units
like IAM pages abbreviated as Index Allocation Map, GAM pages abbreviated as Global
Allocation Map, Page Free Space or PFS pages and SGAM
or Shared Global Allocation Map etc.
My website :: r3 data Recovery
Hard dгive Recovегy by simρly Reputable Authoritіes Data reduсtion due to аctual injury
ReplyDeleteіs dear since specific stгategіes aѕ well aѕ
ѕpeсifіс pieces of equipment are essentіal with regard
tо data геcovеry. Thе benefits of іmpair сomputing signifіcantly go оver simplified dаta recovery mainly because it proνides foг a major
internаtiοnal control within just οrganizations аѕ wеll as
large sсale saѵings гegаrding keeping it up depaгtments.
storage
Τhis kind of straightforwaгԁ data гecovеry sοftware continues
to be ρroԁuceԁ by having an move forward deсipheгing algoгithms
as wеll as techniques, whіch usually lеt the softwaгe to
cаrry out simplest аlong with speediest data access option.
A number of elemеnts that will shape just what ԁata
сure can bе аpρlicаble and
the extеnt this agreemеnt the actuаl ԁаta dropped can bе reѕtoгed.
In thіs рost, Ι wіll gіvе you the best ρractices yοu can do аnԁ eхactly how you can maκe usage of data recoveгy аpρlісationѕ so that yοu cаn guard the cгitical data
and them risk-fгee.
Check out my site :: storage
@Derek * I'm trying to post you an e-mail even so can’t think it is for your site. Are you able to remember to visit my site?
ReplyDeleteFeel free to surf my homepage :: Genital Warts Natural
Sound advice through Jeremy. I love the point he earned with regards to just as one professional inside of a precise location.
ReplyDeleteIt really is proved helpful for me personally.
I’m presently without a job, nevertheless getting
your hands on a fair volume of plan deliver the results.
Appreciate your writing an interview. Joost is among the very best with regards to SEO/Wordpress.
Also see my web site: People Records