{"action":"created","issue":{"url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/75","repository_url":"https://api.github.com/repos/ga-wdi-boston/game-project","labels_url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/75/comments","events_url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/75/events","html_url":"https://github.com/ga-wdi-boston/game-project/issues/75","id":146309540,"number":75,"title":"On.click returning undefined. ","user":{"login":"natdjerf","id":17814071,"avatar_url":"https://avatars.githubusercontent.com/u/17814071?v=3","gravatar_id":"","url":"https://api.github.com/users/natdjerf","html_url":"https://github.com/natdjerf","followers_url":"https://api.github.com/users/natdjerf/followers","following_url":"https://api.github.com/users/natdjerf/following{/other_user}","gists_url":"https://api.github.com/users/natdjerf/gists{/gist_id}","starred_url":"https://api.github.com/users/natdjerf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natdjerf/subscriptions","organizations_url":"https://api.github.com/users/natdjerf/orgs","repos_url":"https://api.github.com/users/natdjerf/repos","events_url":"https://api.github.com/users/natdjerf/events{/privacy}","received_events_url":"https://api.github.com/users/natdjerf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-06T13:12:13Z","updated_at":"2016-04-06T13:20:43Z","closed_at":null,"body":"I'm having trouble returning the value of the cell in the console in jQuery. I've tried event.target and :target but nothing seems to return the div class ID. It's also possible I'm approaching this in the wrong way. My intention is to check to see if the board space is filled (currently with just an 'x', but will be a variable), if it is isn't, to populate 'x'. I *think* a conversation would be really helpful if someone is up to it. \r\n\r\n```html\r\n<div class=\"board\">\r\n          <div class=\"top\">\r\n            <div class=\"top-right\">\r\n```\r\n\r\n\r\n```js\r\n'use strict';\r\n\r\n$('.board > div > div').on(\"click\", function() {\r\n  let move = $(this).id;\r\n  if ( $( this ).text() !== 'x') {\r\n    $( this ).text('x');\r\n    console.log(move);\r\n  }\r\n  else {\r\n    console.log('not available');\r\n  }\r\n});\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/comments/206367978","html_url":"https://github.com/ga-wdi-boston/game-project/issues/75#issuecomment-206367978","issue_url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/75","id":206367978,"user":{"login":"RDegnen","id":8826469,"avatar_url":"https://avatars.githubusercontent.com/u/8826469?v=3","gravatar_id":"","url":"https://api.github.com/users/RDegnen","html_url":"https://github.com/RDegnen","followers_url":"https://api.github.com/users/RDegnen/followers","following_url":"https://api.github.com/users/RDegnen/following{/other_user}","gists_url":"https://api.github.com/users/RDegnen/gists{/gist_id}","starred_url":"https://api.github.com/users/RDegnen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RDegnen/subscriptions","organizations_url":"https://api.github.com/users/RDegnen/orgs","repos_url":"https://api.github.com/users/RDegnen/repos","events_url":"https://api.github.com/users/RDegnen/events{/privacy}","received_events_url":"https://api.github.com/users/RDegnen/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T13:20:43Z","updated_at":"2016-04-06T13:20:43Z","body":"What does it say is the value of `$(this)` in the console"}}