var a = parseFloat(document.getElementById(‘a’).value) || 0;\nvar b = parseFloat(document.getElementById(‘b’).value) || 0;\nvar result = a + b;\ndocument.getElementById(‘result’).innerHTML = ‘Résultat : ‘ + result;\n\” />\n
\n
\n
var a = parseFloat(document.getElementById(‘a’).value) || 0;\nvar b = parseFloat(document.getElementById(‘b’).value) || 0;\nvar result = a + b;\ndocument.getElementById(‘result’).innerHTML = ‘Résultat : ‘ + result;\n\” />\n
\n
\n
\n
\n\n
\n\n
\n
\n
\n\n
\n
\n
\n
\n\n\n\n
\n\n