How do I get the text in the second td tag in this html string, can I pass a html string into the JQUERY object and filter through it like this?
var t = '<td>a</td><td>b</td><td>c</td><td>f</td>g<td>h</td>';
$(t).find("td:eq(1)").html();
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
.findis for finding descendants in the current set, the set is actually the td elements themselves so you need to operate on that, for example by using the.eqmethod:Demo: http://jsfiddle.net/NxcUk/