Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax question
Message
 
 
To
All
General information
Forum:
Javascript
Category:
JQuery
Title:
Syntax question
Miscellaneous
Thread ID:
01571401
Message ID:
01571401
Views:
47
Hi everybody,

If I get a reference to the row in the table this way:

var $row = $(e.target).closest('tr')

then how can I get the reference to the third column in that row?

This is my code from other place
var ClientName;
ClientName = $('.trSelected td:eq(2)').text();
I am looking into a way to get ClientName based on the $row

UPDATE. I figured this out
 var ClientName;
   ClientName = $('td:eq(2)', $row).text();
If it's not broken, fix it until it is.


My Blog
Reply
Map
View

Click here to load this message in the networking platform