james.lat
03-17-2010, 07:21 PM
hey everyone i am trying to make a simple increasment for my JS code however i don't know how to do this.
thanks for any help!
-James
function findS()
{
click++;
//How can i use a proper increasment?
if(click==1)
{
code3;
}
if(click==2)
{
code2;
}
if(click==3)
{
set var click to 1, and do the same code in one
}
}
thanks for any help!
-James
function findS()
{
click++;
//How can i use a proper increasment?
if(click==1)
{
code3;
}
if(click==2)
{
code2;
}
if(click==3)
{
set var click to 1, and do the same code in one
}
}