HOWTO: Retrieve Data From a Table Cell Using jQuery

From the blog:

Retrieve Data From a Table Cell Using jQuery

I have seen a lot of users asking questions on how to retrieve information when the the cell of a Table is clicked. In this post, I will show how to retrieve the following information from a Table Cell that was clicked

– Retrieve Text of the Clicked Cell
– Retrieve Text to the Left of the Clicked Cell
– Retrieve Text to the Right of the Clicked Cell
– Retrieve Row Index of the Clicked Cell
– Retrieve Column Index of the Clicked Cell
– Retrieve Number of Rows above the Current Clicked Row
– Retrieve Column Name of the Clicked Cell

Advertisements

~ by WPA Staff on May 16, 2012.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: