javaScript ecrire une fonction affichertable2 () qui affiche

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <head> <title> table de multiplication</title> <script type="text/javascript"> function calculer() { 	var nombre = parseInt(document.getElementById('Number').value); 	var resultat = document.getElementById('Result');	var tables = "";		for (i=0; i<=10; i++) {		var solution = nombre*i;		tables += i+" x "+nombre+" = "+solution+"<br />";	}		resultat.innerHTML = tables;} </script> </head> <body> <input type="text" id="Number"> <input type="button" value="Calculer" onclick="calculer();"> <div id="Result"></div> </body> </html>
Elated Eagle