// Name: Calculator in PHP using Drop Down Menu
// Description:A simple calculator program that I wrote in PHP using Drop Down Menu to select the mathematical operator such as addition, subtraction, multiplication and division using combo box in HTML.
Add me at Facebook my address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
// By: Jake R. Pomperada
// Inputs:None
// Returns:None
//Side Effects:None



function add_number() {

var first_number = parseInt(document.getElementById(“Text1”).value);
var second_number = parseInt(document.getElementById(“Text2”).value);
var result = first_number + second_number;

document.getElementById(“txtresult”).value = result;

Simple Calculator

Result is


Leave a comment

  • Sign up
Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.
9ct Gold Scrap Price Per Gram £10.50
14ct Gold Scrap Price Per Gram £10.50
18ct Gold Scrap Price Per Gram £10.50
22ct Gold Scrap Price Per Gram £10.50
Silver Price
Platinum Price
Sell your jewellery now why prices are high, we pay instantly hassle free
We are open for Appointments only please Call or Email