Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
    <div>
        Pago 1: <input type = "text" id = "pago1" value = 123.21 />
        Dio 1: <input type = "text" id = "dio1" />
        <button id = "suma1" onclick = "sumar(1)">Sumar</button>
    </div>
    
    <div>
        Pago 2: <input type = "text" id = "pago2" value = 345.43 />
        Dio 2: <input type = "text" id = "dio2" />
        <button id = "suma2" onclick = "sumar(2)">Sumar</button>
    </div>
    
    <div>
        Pago 3: <input type = "text" id = "pago3" value = 413.3 />
        Dio 3: <input type = "text" id = "dio3" />
        <button id = "suma3" onclick = "sumar(3)">Sumar</button>
    </div>
    
    <div>
        Pago 4: <input type = "text" id = "pago4" value = 546.24 />
        Dio 4: <input type = "text" id = "dio4" />
        <button id = "suma4" onclick = "sumar(4)">Sumar</button>
    </div>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
Alexis88pro
0viewers