{"action":"created","issue":{"url":"https://api.github.com/repos/ideal-postcodes/jquery.postcodes/issues/4","labels_url":"https://api.github.com/repos/ideal-postcodes/jquery.postcodes/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/ideal-postcodes/jquery.postcodes/issues/4/comments","events_url":"https://api.github.com/repos/ideal-postcodes/jquery.postcodes/issues/4/events","html_url":"https://github.com/ideal-postcodes/jquery.postcodes/pull/4","id":63184509,"number":4,"title":"Allow a custom container for the results dropdown","user":{"login":"gjvis","id":418277,"avatar_url":"https://avatars.githubusercontent.com/u/418277?v=3","gravatar_id":"","url":"https://api.github.com/users/gjvis","html_url":"https://github.com/gjvis","followers_url":"https://api.github.com/users/gjvis/followers","following_url":"https://api.github.com/users/gjvis/following{/other_user}","gists_url":"https://api.github.com/users/gjvis/gists{/gist_id}","starred_url":"https://api.github.com/users/gjvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjvis/subscriptions","organizations_url":"https://api.github.com/users/gjvis/orgs","repos_url":"https://api.github.com/users/gjvis/repos","events_url":"https://api.github.com/users/gjvis/events{/privacy}","received_events_url":"https://api.github.com/users/gjvis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-20T08:09:32Z","updated_at":"2015-03-20T09:28:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ideal-postcodes/jquery.postcodes/pulls/4","html_url":"https://github.com/ideal-postcodes/jquery.postcodes/pull/4","diff_url":"https://github.com/ideal-postcodes/jquery.postcodes/pull/4.diff","patch_url":"https://github.com/ideal-postcodes/jquery.postcodes/pull/4.patch"},"body":"Adds the ability for a custom container to be specified for the results dropdown to be added to.\r\n\r\nSimilar to the custom input and button, the custom dropdown container is specified by providing a CSS-selector as a `dropdown_container` option passed to the `setupPostcodeLookup` function:\r\n```javascript\r\n$(\"#postcode_lookup_field\").setupPostcodeLookup({\r\n  dropdown_container: \"#results-container\"\r\n});\r\n```\r\n\r\nIf no `dropdown_container` is specified then the current behaviour remains – the results dropdown is added to the postcode lookup's context."},"comment":{"url":"https://api.github.com/repos/ideal-postcodes/jquery.postcodes/issues/comments/83968048","html_url":"https://github.com/ideal-postcodes/jquery.postcodes/pull/4#issuecomment-83968048","issue_url":"https://api.github.com/repos/ideal-postcodes/jquery.postcodes/issues/4","id":83968048,"user":{"login":"cblanc","id":2160685,"avatar_url":"https://avatars.githubusercontent.com/u/2160685?v=3","gravatar_id":"","url":"https://api.github.com/users/cblanc","html_url":"https://github.com/cblanc","followers_url":"https://api.github.com/users/cblanc/followers","following_url":"https://api.github.com/users/cblanc/following{/other_user}","gists_url":"https://api.github.com/users/cblanc/gists{/gist_id}","starred_url":"https://api.github.com/users/cblanc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cblanc/subscriptions","organizations_url":"https://api.github.com/users/cblanc/orgs","repos_url":"https://api.github.com/users/cblanc/repos","events_url":"https://api.github.com/users/cblanc/events{/privacy}","received_events_url":"https://api.github.com/users/cblanc/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T09:28:08Z","updated_at":"2015-03-20T09:28:08Z","body":"Thanks for this. Everything looks good including the cross browser tests.\r\n\r\nNew patch will be out some time today, including updated docs."}}