{"comment":{"created_at":"2011-10-14T09:03:39Z","body":"### Your html fragment as parsed by Jsoup\r\n```html\r\n<html>\r\n <head></head>\r\n <body>\r\n  <a name=\"listing10\"></a>\r\n  <a href=\"http://www.gotopage.net/fa/index.html&amp;CIRN=317364\" &gt;my=\"\" page<=\"\"> </a>\r\n  <table> \r\n   <tbody>\r\n    <tr class=\"lowerDataRow\">  \r\n     <td height=\"50\"> </td> \r\n     <td align=\"center\">10</td> \r\n     <td> </td> \r\n     <a href=\"http://www.gotopage.net/fa/email/index.html&amp;CIRN=317364\" &gt;contact=\"\" me<=\"\">  </a>\r\n    </tr> \r\n   </tbody>\r\n  </table>\r\n </body>\r\n</html>\r\n```\r\nSince none of the links are inside any `<td>`, `document.select(\"tr.lowerDataRow td a\")` returns an empty set.","updated_at":"2011-10-14T09:03:39Z","url":"https://api.github.com/repos/jhy/jsoup/issues/comments/2404717","id":2404717,"user":{"gravatar_id":"8b37c3f0f438c6844468ef43a188d878","avatar_url":"https://secure.gravatar.com/avatar/8b37c3f0f438c6844468ef43a188d878?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/sahilm","id":215823,"login":"sahilm"}},"action":"created","issue":{"number":133,"created_at":"2011-10-14T03:08:22Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"The Html segment as following:\r\n\r\n&lt;table&gt;\r\n&lt;tr class=\"lowerDataRow\"&gt;\r\n        &lt;a name='listing10'&gt;&lt;/a&gt;\r\n\t&lt;td height=\"50\"&gt;&nbsp;&lt;/td&gt;\r\n\t&lt;td align=\"center\"&gt;10&lt;/td&gt;\r\n\t&lt;td&gt;&nbsp;&lt;/td&gt;\r\n\t&lt;a href=\"http://www.gotopage.net/fa/index.html&CIRN=317364\"&gt;my page&lt;/a&gt;\r\n        | \r\n        &lt;a href=\"http://www.gotopage.net/fa/email/index.html&CIRN=317364\"&gt;contact me&lt;/a&gt;\r\n\t&lt;/td>\r\n\r\n&lt;/tr>\r\n&lt;/table>\r\n\r\nAs there is two links in one td tag. I just want to find the first link in the td.\r\nSo I using selector expr \"tr.lowerDataRow  td  a:eq(0)\" to select the link.\r\nBUT it doesn't work.\r\nI am confused. As eq selector will compute its index of td, why it fails?\r\n","comments":1,"title":"Fail to select element by using eq selector","updated_at":"2011-10-14T09:03:39Z","url":"https://api.github.com/repos/jhy/jsoup/issues/133","id":1907313,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"9561de59c7f0e4489c086e9ef002b8eb","avatar_url":"https://secure.gravatar.com/avatar/9561de59c7f0e4489c086e9ef002b8eb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/lykm02","id":1127403,"login":"lykm02"},"html_url":"https://github.com/jhy/jsoup/issues/133","labels":[],"state":"open"},"legacy":{"issue_id":1907313,"comment_id":2404717}}