html>;
<body>
<;script type="text/javascript">
var i=0;
for (i=0;i<=5;i++)
{
document.write("The number is " + i);
document.write("<br />");
}
<;/script>
<;p>Explanation:</p>
<;p>This for loop starts with i=0.</p>
<;p>As long as <b>i</b> is less than, or equal to 5, the loop will continue to run.</p>
<;p><b>i</b> will increase by 1 each time the loop runs.</p>
<;/body>
<;/html>


فیلم آموزش جی کوئری ( JQuery )
دانلود کتاب طراحی الگوریتم CLRS به همراه حل مسائل