Wed 28 May, 2014 08:57 pm - I have i simple piece of code that receives inputs from the user till the user presses zero, but the code receives this zero also, I don't know why here is the code:
var counter=0;
var... (view)
Wed 28 May, 2014 06:44 am - Is there a law to know which function names, arguments, key words in JavaScript should be in upper case or lower case, also which should be put between single quote or double quotes, for example... (view)
Wed 28 May, 2014 05:38 am - I have i simple piece of code that receives inputs from the user till the user presses zero, but the code receives this zero also, I don't know why here is the code:
var i=0;
var... (view)
Tue 27 May, 2014 06:50 am - Wonder if some one could help me if there is a method to declare variables suffixed with a counter of a for loop, something like this
for (i=1;i<10;i++)
{
var image(i) = new Image();
//... (view)
Wed 21 May, 2014 05:32 am - Finally I did it, it works with Hanoi Tower puzzle, this puzzle for those who never heard of is to move a number of rings different in size(diameters) from say a beginning peg to a final peg with... (view)
Sun 18 May, 2014 04:46 am - thank u for ur reply I'm going to try this now, actually i tried String.fromCharCode(32) but nothing happened. I appreciate your help (view)
Sat 17 May, 2014 08:59 pm - I was trying to just pad a space before or after a variale value using document.write but no way, something like this
document.write( " " + i + " "); would never give me a... (view)
Sat 17 May, 2014 08:48 pm - I got stack overflow just after the line else{ when calling this function throught a button onclick, does any one know why? thanx
function Hanoi_Tower()
{
var fromPeg ='A';... (view)