{"id":1205,"date":"2013-08-30T03:38:57","date_gmt":"2013-08-30T03:38:57","guid":{"rendered":"http:\/\/www.phpmind.com\/blog\/?p=1205"},"modified":"2013-08-30T03:42:29","modified_gmt":"2013-08-30T03:42:29","slug":"how-to-read-td-value-using-jquery","status":"publish","type":"post","link":"https:\/\/www.phpmind.com\/blog\/2013\/08\/how-to-read-td-value-using-jquery\/","title":{"rendered":"How to read TD value using jquery ?"},"content":{"rendered":"<p>Use jQuery to read TD values on click&#8230;<\/p>\n<pre lang=\"js\">\r\n<script>\r\n    $(document).ready(function() {\r\n        $('.myROW').click(function() { $(this).find('td').each( function() { console.log($(this).html()); }) })\r\n    });\r\n<\/script>\r\n\r\n<table width=\"1\">\r\n    <tr class=\"myROW\">\r\n        <td>PHP<\/td>\r\n        <td>MYSQL<\/td>\r\n        <td>Linux<\/td>\r\n        <td>Apache<\/td>\r\n        <td>Node.js<\/td>\r\n    <\/tr>\r\n<\/table>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Use jQuery to read TD values on click&#8230; PHP MYSQL Linux Apache Node.js<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[30],"tags":[],"class_list":["post-1205","post","type-post","status-publish","format-standard","hentry","category-jquery"],"_links":{"self":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/1205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/comments?post=1205"}],"version-history":[{"count":1,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/1205\/revisions"}],"predecessor-version":[{"id":1206,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/1205\/revisions\/1206"}],"wp:attachment":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/media?parent=1205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/categories?post=1205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/tags?post=1205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}