Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var valor
- function CommandClick1(){
- valor = document.getElementById("1").value;
- document.getElementById("nombre").value += valor;
- }
- function CommandClick2(){
- valor = document.getElementById("2").value;
- document.getElementById("nombre").value += valor;
- }
- function CommandClick3(){
- valor = document.getElementById("3").value;
- document.getElementById("nombre").value += valor;
- }
- function CommandClick4(){
- valor = document.getElementById("4").value;
- document.getElementById("nombre").value += valor;
- }
- function CommandClick5(){
- valor = document.getElementById("5").value;
- document.getElementById("nombre").value += valor;
- }
- function CommandClick6(){
- valor = document.getElementById("6").value;
- document.getElementById("nombre").value += valor;
- }
- function CommandClick7(){
- valor = document.getElementById("7").value;
- document.getElementById("nombre").value += valor;
- }
- function CommandClick8(){
- valor = document.getElementById("8").value;
- document.getElementById("nombre").value += valor;
- }
- function CommandClick9(){
- valor = document.getElementById("9").value;
- document.getElementById("nombre").value += valor;
- }
- function CommandClick10(){
- valor = document.getElementById("0").value;
- document.getElementById("nombre").value += valor;
- }
- function CommandClick11(){
- valor = document.getElementById(",").value;
- document.getElementById("nombre").value += valor;
- }
- function CommandClick12(){
- valor = document.getElementById("=").value;
- document.getElementById("nombre").value += valor;
- }
- function CommandClick13(){
- valor = document.getElementById("%").value;
- document.getElementById("nombre").value += valor;
- }
- function CommandClick14(){
- valor = document.getElementById("x").value;
- document.getElementById("nombre").value += valor;
- }
- function CommandClick15(){
- valor = document.getElementById("-").value;
- document.getElementById("nombre").value += valor;
- }
- function CommandClick16(){
- valor = document.getElementById("+").value;
- document.getElementById("nombre").value += valor;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement