{"action":"created","issue":{"url":"https://api.github.com/repos/caprica/jquery-orgchart/issues/19","labels_url":"https://api.github.com/repos/caprica/jquery-orgchart/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/caprica/jquery-orgchart/issues/19/comments","events_url":"https://api.github.com/repos/caprica/jquery-orgchart/issues/19/events","html_url":"https://github.com/caprica/jquery-orgchart/issues/19","id":99232270,"number":19,"title":"Common jQuery functions do not work.","user":{"login":"osCMattiFinn","id":128849,"avatar_url":"https://avatars.githubusercontent.com/u/128849?v=3","gravatar_id":"","url":"https://api.github.com/users/osCMattiFinn","html_url":"https://github.com/osCMattiFinn","followers_url":"https://api.github.com/users/osCMattiFinn/followers","following_url":"https://api.github.com/users/osCMattiFinn/following{/other_user}","gists_url":"https://api.github.com/users/osCMattiFinn/gists{/gist_id}","starred_url":"https://api.github.com/users/osCMattiFinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osCMattiFinn/subscriptions","organizations_url":"https://api.github.com/users/osCMattiFinn/orgs","repos_url":"https://api.github.com/users/osCMattiFinn/repos","events_url":"https://api.github.com/users/osCMattiFinn/events{/privacy}","received_events_url":"https://api.github.com/users/osCMattiFinn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-05T15:30:56Z","updated_at":"2015-08-05T18:33:50Z","closed_at":"2015-08-05T16:02:05Z","body":"\r\nI edited the simple.html demo as follows:\r\n\r\n    <ul>\r\n        <li>Bane<br /><span id=\"hideme\" style=\"display:block; color: red\">Hi there!</span></li>\r\n        <li>Talia Al Ghul<br /><button id=\"clickme\">Click me</button></li>\r\n    </ul>\r\n\r\nI then added the following jQuery:\r\n\r\n    $(document).on(\"click\", \"#clickme\", function() {\r\n        alert(\"click\"); // this works!\r\n        $(\"#hideme\").hide();  // this does not work\r\n    });\r\n\r\nI also tested jQuery css() and it also does not work.\r\n"},"comment":{"url":"https://api.github.com/repos/caprica/jquery-orgchart/issues/comments/128101976","html_url":"https://github.com/caprica/jquery-orgchart/issues/19#issuecomment-128101976","issue_url":"https://api.github.com/repos/caprica/jquery-orgchart/issues/19","id":128101976,"user":{"login":"caprica","id":1385879,"avatar_url":"https://avatars.githubusercontent.com/u/1385879?v=3","gravatar_id":"","url":"https://api.github.com/users/caprica","html_url":"https://github.com/caprica","followers_url":"https://api.github.com/users/caprica/followers","following_url":"https://api.github.com/users/caprica/following{/other_user}","gists_url":"https://api.github.com/users/caprica/gists{/gist_id}","starred_url":"https://api.github.com/users/caprica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caprica/subscriptions","organizations_url":"https://api.github.com/users/caprica/orgs","repos_url":"https://api.github.com/users/caprica/repos","events_url":"https://api.github.com/users/caprica/events{/privacy}","received_events_url":"https://api.github.com/users/caprica/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T18:33:50Z","updated_at":"2015-08-05T18:33:50Z","body":"\"Clearly\"? Really? Why should it? Some users might want to keep it, some might not. Some users might attach their own data structures or whatever else they want to that original list, and they may use it for something else. Some users, like me, keep that list around and build dynamic charts from a sub-set of that original list. Why should this plugin restrict that choice when it's so trivial to remove it yourself?\r\n\r\nRegarding ids vs classes... if I have a class named \"unqiueId12345\", and I only assign it to one element, then how is that any different in a practical sense from an id? \r\n\r\nI suppose an ID in principle is more efficient to look up in the DOM, so I'll concede that much.\r\n\r\nThe ability to specify an ID to use in the resultant chart node may well be useful, and I might add it myself actually, but it would be something like \"data-id=theId\" on the original list and then up being \"theId\" on the generated chart. "}}