$(this).parent().siblings(":first").text()
parent
gives you the <td>
around the link,
siblings
gives all the <td>
tags in that <tr>
,
:first
gives the first matched element in the set.
text()
gives the contents of the tag.
More Related Contents:
- jQuery Adding new option to select element doesn't pick up the string [closed]
- jQuery get value of select onChange
- Table header to stay fixed at the top when user scrolls it out of view with jQuery
- jQuery table sort
- Why does the jquery change event not trigger when I set the value of a select using val()?
- How to Use slideDown (or show) function on a table row?
- Use jQuery to change a second select list based on the first select list option
- Click event on select option element in chrome
- jQuery: Best practice to populate drop down?
- Using jQuery to build table rows from AJAX response(json)
- Auto resizing the SELECT element according to selected OPTION’s width
- Hide/Show Column in a HTML Table
- Best way to unselect a in jQuery?
- How to make the first option of selected with jQuery
- Convert a HTML table data into a JSON object in jQuery
- Internet Explorer 9 not rendering table cells properly
- How do I force jQuery append to NOT automatically close a tag?
- Resizable table columns with jQuery [closed]
- Selecting text on focus using jQuery not working in Safari and Chrome
- Populate Select box options on click with Javascript/Jquery with Json data
- Get index of selected option with jQuery
- How to create thead and tbody in ASP.NET Table ?
- How to select a table column with jQuery
- Get SELECT’s value and text in jQuery [duplicate]
- Disable select options based on value *through the HTML only!*
- Unselect what was selected in an input with .select()
- jQuery onchange/onfocus select box to display an image?
- JQuery :contains function limit to exact match
- only shows first char of selected option
- jQuery ajax upload with progress bar – no flash