Ok so I used to do some flash so I know with JQuery its kind of the same thing with some differences So ill explain what I plan to do in more of a actionscript set up.....
I plan to make a small game for my Gf's sister (she still believes in Santa)
Heres what I need do to
So ill have a var called Points in comp ready :
var Points = 0;
Then It will be a click function So lets say I have a DIV called Santa and it is clicked I want it to do this:
var Points = +1; so it adds 1
then sym.$("Santa").hide();
next would be the If statement
Something like this:
if (Points = 3)
{
Do somthing
}
How would i go about this in Edge/Jquery? my jquery coding know how sucks
Thanks in advance for any help.