Difference between revisions of "JavaScript: Exemplo de uso do for"
From AdonaiMedrado.Pro.Br
Line 1: | Line 1: | ||
− | <code lang=" | + | <code lang="javascript"> |
<html> | <html> | ||
<head> | <head> | ||
− | <title></title | + | <title>Minha Página</title> |
− | + | ||
</head> | </head> | ||
<body> | <body> |
Latest revision as of 22:30, 12 September 2008
<html> <head> <title>Minha Página</title> </head> <body> <script> var i; for (i=0;i<10;i++) alert("Eu sou a caixa chata " + (i + 1)); </script> </body> </html>