Find Id of parent... not working....
Can someone show me why this is not working...
Im trying to get the ID of the parent TR of this table when a TD is clicked...
the following returns an alert box with nothing in it...
- $('.editPt').click(function(){
- alert( $(this).parent().val() );
- });
the html looks like this
- <tr id='tr_01'>
- <td class='editPt'> some info</td>
- </tr>
Any help for this jQuery newb would be wonderful...
"we are the cult of personality"