{"action":"created","issue":{"url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/248","repository_url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project","labels_url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/248/comments","events_url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/248/events","html_url":"https://github.com/ga-wdi-boston/full-stack-project/issues/248","id":151941882,"number":248,"title":"General Question about handlebars","user":{"login":"louarnos","id":17519351,"avatar_url":"https://avatars.githubusercontent.com/u/17519351?v=3","gravatar_id":"","url":"https://api.github.com/users/louarnos","html_url":"https://github.com/louarnos","followers_url":"https://api.github.com/users/louarnos/followers","following_url":"https://api.github.com/users/louarnos/following{/other_user}","gists_url":"https://api.github.com/users/louarnos/gists{/gist_id}","starred_url":"https://api.github.com/users/louarnos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/louarnos/subscriptions","organizations_url":"https://api.github.com/users/louarnos/orgs","repos_url":"https://api.github.com/users/louarnos/repos","events_url":"https://api.github.com/users/louarnos/events{/privacy}","received_events_url":"https://api.github.com/users/louarnos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-29T18:41:19Z","updated_at":"2016-04-29T19:20:57Z","closed_at":null,"body":"I am using handlebars to generate html in my main content div. In this template I create form fields and assign id's to buttons and such. When I try to track their clicks I can't seem to get things to respond. Is this a scoping issue of some sort? "},"comment":{"url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/comments/215853793","html_url":"https://github.com/ga-wdi-boston/full-stack-project/issues/248#issuecomment-215853793","issue_url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/248","id":215853793,"user":{"login":"louarnos","id":17519351,"avatar_url":"https://avatars.githubusercontent.com/u/17519351?v=3","gravatar_id":"","url":"https://api.github.com/users/louarnos","html_url":"https://github.com/louarnos","followers_url":"https://api.github.com/users/louarnos/followers","following_url":"https://api.github.com/users/louarnos/following{/other_user}","gists_url":"https://api.github.com/users/louarnos/gists{/gist_id}","starred_url":"https://api.github.com/users/louarnos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/louarnos/subscriptions","organizations_url":"https://api.github.com/users/louarnos/orgs","repos_url":"https://api.github.com/users/louarnos/repos","events_url":"https://api.github.com/users/louarnos/events{/privacy}","received_events_url":"https://api.github.com/users/louarnos/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T19:20:57Z","updated_at":"2016-04-29T19:20:57Z","body":"ya, i may not really be using handlebars... I'm just just appending html to a div. I got the idea from the handlebars lesson...Originally the last event handler was looking for a click on id=\"ajax-sign-up-temp-btn\" but that wasnt working so I changed it to content1 which is the name of my div. Here is my main html file: \r\n\r\n```\r\n<!DOCTYPE html>\r\n<html>\r\n    <head>\r\n      <title>Fitness Food Tracker</title>\r\n      <link rel=\"stylesheet\" type=\"text/css\"\r\n         href=\"https://fonts.googleapis.com/css?family=Days+One\">\r\n\r\n      <script src=\"vendor.bundle.js\" type=\"text/javascript\" charset=\"utf-8\" defer></script>\r\n      <script src=\"bundle.js\" type=\"text/javascript\" charset=\"utf-8\" defer></script>\r\n    </head>\r\n    <body class=\"container-fluid\">\r\n      <nav class=\"navbar navbar-default\">\r\n        <div class=\"container-fluid\">\r\n          <!-- Brand and toggle get grouped for better mobile display -->\r\n\r\n          <!-- Collect the nav links, forms, and other content for toggling -->\r\n          <div class=\"collapse navbar-collapse\" id=\"bs-example-navbar-collapse-1\">\r\n            <button type=\"button\" class=\"btn btn-default navbar-btn pull-left\" id=\"btn-sign-up\">Sign Up</button>\r\n            <button type=\"button\" class=\"btn btn-default navbar-btn pull-left\" id=\"btn-sign-in\">Sign In</button>\r\n            <button type=\"button\" class=\"btn btn-default navbar-btn pull-left\">Search Previous Meals</button>\r\n            <a class=\"logo navbar-center\" rel=\"home\" href=\"#\" title=\"Buy Sell Rent Everyting\">\r\n              <img class=\"logo\" style=\"\" src=\"https://lukeaux.files.wordpress.com/2012/05/tumblr_m3g64pellj1qbtss4o1_500.jpg\">\r\n            </a>\r\n            <button type=\"button\" class=\"btn btn-default navbar-btn pull-right\">Add Food to Database</button>\r\n            <button type=\"button\" class=\"btn btn-default navbar-btn pull-right\">__Create New Meal__</button>\r\n          </div><!-- /.navbar-collapse -->\r\n        </div><!-- /.container-fluid -->\r\n      </nav>\r\n      <div class=\"main-page\">\r\n        <div class=\"content1\">\r\n          <h1>Fitness Food Tracker</h1>\r\n          <h2>Log-in to Start Tracking</h2>\r\n        </div>\r\n      </div>\r\n\r\n    </body>\r\n```"}}