<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to get table cell value using jquery? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-table-cell-value-using-jquery/m-p/336914#M99965</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;$('#tableid last-child').val();
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 16 Apr 2018 12:06:58 GMT</pubDate>
    <dc:creator>harishalipaka</dc:creator>
    <dc:date>2018-04-16T12:06:58Z</dc:date>
    <item>
      <title>How to get table cell value using jquery?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-table-cell-value-using-jquery/m-p/336911#M99962</link>
      <description>&lt;P&gt;I just want to know how can I get specific table cell value using script (jquery)&lt;/P&gt;

&lt;P&gt;for example :&lt;BR /&gt;
COLUMN   VALUES&lt;BR /&gt;
A ----------------1 &lt;BR /&gt;
B-----------------2&lt;BR /&gt;
C-----------------3&lt;/P&gt;

&lt;P&gt;how can I get the value "3" using script(jquery) after the table has done the loading?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 05:40:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-table-cell-value-using-jquery/m-p/336911#M99962</guid>
      <dc:creator>jadengoho</dc:creator>
      <dc:date>2018-04-16T05:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get table cell value using jquery?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-table-cell-value-using-jquery/m-p/336912#M99963</link>
      <description>&lt;P&gt;@jadengoho what is the criteria for finding 3?&lt;/P&gt;

&lt;P&gt;1) Is it last value of &lt;CODE&gt;VALUES&lt;/CODE&gt; field&lt;BR /&gt;
2) The value of &lt;CODE&gt;VALUES&lt;/CODE&gt; field when &lt;CODE&gt;COLUMN&lt;/CODE&gt; value is &lt;CODE&gt;C&lt;/CODE&gt;&lt;BR /&gt;
3) Or both?&lt;BR /&gt;
4) What do you want to do once the value is selected?&lt;/P&gt;

&lt;P&gt;If you want to use Splunk JS Stack to find a specific result of search you can refer to the following documentation: &lt;A href="http://dev.splunk.com/view/webframework-developapps/SP-CAAAEU6"&gt;http://dev.splunk.com/view/webframework-developapps/SP-CAAAEU6&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;On Similar Lines if you want based on Splunk JS Table Cell Renderer you can refer to Splunk Dashboard Examples App for examples with Table. Following is answer with three of them &lt;A href="https://answers.splunk.com/answers/637615/why-is-the-table-cell-highlighting-not-reading-the.html"&gt;https://answers.splunk.com/answers/637615/why-is-the-table-cell-highlighting-not-reading-the.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Finally, following would be CSS or jQuery selector where table ID is &lt;CODE&gt;myTable1&lt;/CODE&gt;: &lt;CODE&gt;#myTable1 tbody tr:last-child td:last-child&lt;/CODE&gt;. Following is an answer based on this: &lt;A href="https://answers.splunk.com/answers/637804/create-a-drill-down-multiple-condition.html"&gt;https://answers.splunk.com/answers/637804/create-a-drill-down-multiple-condition.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 06:14:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-table-cell-value-using-jquery/m-p/336912#M99963</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-16T06:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to get table cell value using jquery?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-table-cell-value-using-jquery/m-p/336913#M99964</link>
      <description>&lt;P&gt;Yes I want to get the value 3, let's say that the Colum (A, B, C ) are static, I just want to get the value of "C"&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 10:09:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-table-cell-value-using-jquery/m-p/336913#M99964</guid>
      <dc:creator>jadengoho</dc:creator>
      <dc:date>2018-04-16T10:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to get table cell value using jquery?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-table-cell-value-using-jquery/m-p/336914#M99965</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;$('#tableid last-child').val();
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Apr 2018 12:06:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-table-cell-value-using-jquery/m-p/336914#M99965</guid>
      <dc:creator>harishalipaka</dc:creator>
      <dc:date>2018-04-16T12:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get table cell value using jquery?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-table-cell-value-using-jquery/m-p/336915#M99966</link>
      <description>&lt;P&gt;it doesn't return me anything  ? just want to get the "3" using JQUERY&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 00:03:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-table-cell-value-using-jquery/m-p/336915#M99966</guid>
      <dc:creator>jadengoho</dc:creator>
      <dc:date>2018-04-17T00:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get table cell value using jquery?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-table-cell-value-using-jquery/m-p/336916#M99967</link>
      <description>&lt;P&gt;Hi everyone , &lt;BR /&gt;
I just solve my problem &lt;BR /&gt;
using jquery you can use &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$('#table1').find("tr:eq(2)").find("td:eq(1)").html();
//('#table1') - table Name
// tr:eq(2) - table ROW
// td:eq(1) - table COLUMN
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Apr 2018 00:29:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-table-cell-value-using-jquery/m-p/336916#M99967</guid>
      <dc:creator>jadengoho</dc:creator>
      <dc:date>2018-04-17T00:29:26Z</dc:date>
    </item>
  </channel>
</rss>

