{"action":"created","issue":{"url":"https://api.github.com/repos/PuerkitoBio/goquery/issues/80","labels_url":"https://api.github.com/repos/PuerkitoBio/goquery/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/PuerkitoBio/goquery/issues/80/comments","events_url":"https://api.github.com/repos/PuerkitoBio/goquery/issues/80/events","html_url":"https://github.com/PuerkitoBio/goquery/pull/80","id":84223154,"number":80,"title":"Add func (s *Selection) Val() string, for input[type=text|hidden|radio|checkbox], textarea, select","user":{"login":"mantyr","id":2830338,"avatar_url":"https://avatars.githubusercontent.com/u/2830338?v=3","gravatar_id":"","url":"https://api.github.com/users/mantyr","html_url":"https://github.com/mantyr","followers_url":"https://api.github.com/users/mantyr/followers","following_url":"https://api.github.com/users/mantyr/following{/other_user}","gists_url":"https://api.github.com/users/mantyr/gists{/gist_id}","starred_url":"https://api.github.com/users/mantyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mantyr/subscriptions","organizations_url":"https://api.github.com/users/mantyr/orgs","repos_url":"https://api.github.com/users/mantyr/repos","events_url":"https://api.github.com/users/mantyr/events{/privacy}","received_events_url":"https://api.github.com/users/mantyr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-02T21:40:00Z","updated_at":"2015-06-06T00:42:09Z","closed_at":"2015-06-05T15:04:45Z","pull_request":{"url":"https://api.github.com/repos/PuerkitoBio/goquery/pulls/80","html_url":"https://github.com/PuerkitoBio/goquery/pull/80","diff_url":"https://github.com/PuerkitoBio/goquery/pull/80.diff","patch_url":"https://github.com/PuerkitoBio/goquery/pull/80.patch"},"body":"Example Doc4().Find(\"[name=name]\").Val() "},"comment":{"url":"https://api.github.com/repos/PuerkitoBio/goquery/issues/comments/109491017","html_url":"https://github.com/PuerkitoBio/goquery/pull/80#issuecomment-109491017","issue_url":"https://api.github.com/repos/PuerkitoBio/goquery/issues/80","id":109491017,"user":{"login":"mantyr","id":2830338,"avatar_url":"https://avatars.githubusercontent.com/u/2830338?v=3","gravatar_id":"","url":"https://api.github.com/users/mantyr","html_url":"https://github.com/mantyr","followers_url":"https://api.github.com/users/mantyr/followers","following_url":"https://api.github.com/users/mantyr/following{/other_user}","gists_url":"https://api.github.com/users/mantyr/gists{/gist_id}","starred_url":"https://api.github.com/users/mantyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mantyr/subscriptions","organizations_url":"https://api.github.com/users/mantyr/orgs","repos_url":"https://api.github.com/users/mantyr/repos","events_url":"https://api.github.com/users/mantyr/events{/privacy}","received_events_url":"https://api.github.com/users/mantyr/received_events","type":"User","site_admin":false},"created_at":"2015-06-06T00:42:09Z","updated_at":"2015-06-06T00:42:09Z","body":"Today:\r\n```\r\nv := doc.Find(\"[name=name1] option[checked]\").AttrOr(\"value\", \"\") // select\r\n```\r\nTomorrow:\r\n```\r\nv := doc.Find(\"[name=name1]).Html()   // textarea\r\n```\r\nThis code requires the support and advertence, because it can break down and an effective mechanism for checking \"whether everything is correct,\" you do not offer."}}