jquery grid with POST request
Hi Team,
I am writing a game in which a user sees a grid like this --
A B C D E
1 + + + + +
2 + + + + +
3 + + + + +
4 + + + + +
5 + + + + +
And the user can click the '+' any number of times. Every time he clicks, it stores the state/clicks in a variable like --
A1+B1+B1+B1+C3+D5+B1
and then on clicking submit, sends it as a POST reply where my PHP file will relate it. This is a puzzle solving game, and I need this logic to work. I have also tried incorporating 'color change' at every click as a visual feedback (using .animate())
Here is what I could achieve so far - http://jsfiddle.net/crlf/pVHYc
Sorry, but I am new to jquery and java-script so need some help.