{"action":"created","issue":{"url":"https://api.github.com/repos/Dogfalo/materialize/issues/2877","repository_url":"https://api.github.com/repos/Dogfalo/materialize","labels_url":"https://api.github.com/repos/Dogfalo/materialize/issues/2877/labels{/name}","comments_url":"https://api.github.com/repos/Dogfalo/materialize/issues/2877/comments","events_url":"https://api.github.com/repos/Dogfalo/materialize/issues/2877/events","html_url":"https://github.com/Dogfalo/materialize/issues/2877","id":138567792,"number":2877,"title":"How to get selected option from material_select","user":{"login":"uok","id":9367272,"avatar_url":"https://avatars.githubusercontent.com/u/9367272?v=3","gravatar_id":"","url":"https://api.github.com/users/uok","html_url":"https://github.com/uok","followers_url":"https://api.github.com/users/uok/followers","following_url":"https://api.github.com/users/uok/following{/other_user}","gists_url":"https://api.github.com/users/uok/gists{/gist_id}","starred_url":"https://api.github.com/users/uok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uok/subscriptions","organizations_url":"https://api.github.com/users/uok/orgs","repos_url":"https://api.github.com/users/uok/repos","events_url":"https://api.github.com/users/uok/events{/privacy}","received_events_url":"https://api.github.com/users/uok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-04T19:43:37Z","updated_at":"2016-03-04T19:44:54Z","closed_at":null,"body":"Not a bug, but a question: \r\nmaterialize creates a `ul` from simple select-element, how can you get the currently selected option?\r\n\r\n```\r\n<select id=\"myselect\">\r\n    <option value=\"1\">A</option>\r\n    <option value=\"2\">B</option>\r\n    <option value=\"3\">C</option>\r\n    <option value=\"4\">D</option>\r\n    <option value=\"5\">E</option>\r\n</select>\r\n```\r\nThanks for this awesome framework!"},"comment":{"url":"https://api.github.com/repos/Dogfalo/materialize/issues/comments/192435344","html_url":"https://github.com/Dogfalo/materialize/issues/2877#issuecomment-192435344","issue_url":"https://api.github.com/repos/Dogfalo/materialize/issues/2877","id":192435344,"user":{"login":"Dogfalo","id":2775751,"avatar_url":"https://avatars.githubusercontent.com/u/2775751?v=3","gravatar_id":"","url":"https://api.github.com/users/Dogfalo","html_url":"https://github.com/Dogfalo","followers_url":"https://api.github.com/users/Dogfalo/followers","following_url":"https://api.github.com/users/Dogfalo/following{/other_user}","gists_url":"https://api.github.com/users/Dogfalo/gists{/gist_id}","starred_url":"https://api.github.com/users/Dogfalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dogfalo/subscriptions","organizations_url":"https://api.github.com/users/Dogfalo/orgs","repos_url":"https://api.github.com/users/Dogfalo/repos","events_url":"https://api.github.com/users/Dogfalo/events{/privacy}","received_events_url":"https://api.github.com/users/Dogfalo/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T19:44:54Z","updated_at":"2016-03-04T19:44:54Z","body":"val() on the original select\nOn Mar 4, 2016 11:43 AM, \"Ben S.\" <notifications@github.com> wrote:\n\n> Not a bug, but a question:\n> materialize creates a ul from simple select-element, how can you get the\n> currently selected option?\n>\n> <select id=\"myselect\">\n>     <option value=\"1\">A</option>\n>     <option value=\"2\">B</option>\n>     <option value=\"3\">C</option>\n>     <option value=\"4\">D</option>\n>     <option value=\"5\">E</option>\n> </select>\n>\n> Thanks for this awesome framework!\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Dogfalo/materialize/issues/2877>.\n>\n"}}