{"action":"opened","issue":{"url":"https://api.github.com/repos/CodeSeven/toastr/issues/357","labels_url":"https://api.github.com/repos/CodeSeven/toastr/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/CodeSeven/toastr/issues/357/comments","events_url":"https://api.github.com/repos/CodeSeven/toastr/issues/357/events","html_url":"https://github.com/CodeSeven/toastr/issues/357","id":110848078,"number":357,"title":"Don't rely on a id=\"toast-container\" element","user":{"login":"ibc","id":16191,"avatar_url":"https://avatars.githubusercontent.com/u/16191?v=3","gravatar_id":"","url":"https://api.github.com/users/ibc","html_url":"https://github.com/ibc","followers_url":"https://api.github.com/users/ibc/followers","following_url":"https://api.github.com/users/ibc/following{/other_user}","gists_url":"https://api.github.com/users/ibc/gists{/gist_id}","starred_url":"https://api.github.com/users/ibc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibc/subscriptions","organizations_url":"https://api.github.com/users/ibc/orgs","repos_url":"https://api.github.com/users/ibc/repos","events_url":"https://api.github.com/users/ibc/events{/privacy}","received_events_url":"https://api.github.com/users/ibc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-11T10:41:34Z","updated_at":"2015-10-11T10:41:34Z","closed_at":null,"body":"This is not cool at all:\r\n\r\n```js\r\n$container = $('#' + options.containerId);\r\n```\r\n\r\nPlease don't force the user/app to give a specific `id` attribute to toastr. Instead let the user/app to select a HTML element without requiring it to have an ìd` attribute. In other words, toastr should not require any HTML element with a specific `id` attribute.\r\n\r\nImagine por example the case in which a 3rd party widget uses toast and the website also uses toast. They would basically conflict."}}