[eluser]Fielder[/eluser]
If I have a jquery variable as such, how can I easily flip it.
I want to change the value of var print to false, without having to do if/else statement.
Code:
if (print == true)
{
print = false;
}
else
{
print = true;
}
Or what would be the shorthand if/else statement for it? Just looking for cleaner code for such a simple function.