Jquery Click Not Registering Which Player Is Clicking. What Am I Missing?
Previous question/answer: jQuery .click function is not working without a string I am trying to build a tic-tac-toe game through RoR/jQuery/HTML and I can't figure out why the play
Solution 1:
Could it have something to do with this syntax: data-current-player: <%=session[:current_player] %>
where it should be data-current-player='<%=session[:current_player] %>'
?
Post a Comment for "Jquery Click Not Registering Which Player Is Clicking. What Am I Missing?"