run in the browser ... so Firebug is a Firefox plugin Powerful Debugger Handy for Development too... Demo Time! http://www.cmurpg.com/assignment.php?n=6&v=b5
Very similar to PHP function count($i, $max = 10) { while ($i < $max) { print $i; } } function factorial($n) { if ($n == 0) return 0; return $n * factorial($n-1); }
Very similar to PHP function count(i, max = 10) { while (i < max) { console.log(i); } } function factorial(n) { if (n == 0) return 0; return n * factorial(n-1); }
false) Open Request Object xmlhttp.send(null) Make Request elem.innerHTML = xmlhttp.responseText Change Page Fails on IE6 ActiveXObject instead of XMLHttpRequest