<?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 connect splunk view with java script in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-connect-splunk-view-with-java-script/m-p/86572#M44127</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;if (Splunk.util.getCurrentView() == 'put_your_view_name_here' ) {
        alert('Yay, my view loaded');
    }
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 01 Aug 2013 16:15:35 GMT</pubDate>
    <dc:creator>joelzyla</dc:creator>
    <dc:date>2013-08-01T16:15:35Z</dc:date>
    <item>
      <title>how to connect splunk view with java script</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-connect-splunk-view-with-java-script/m-p/86571#M44126</link>
      <description>&lt;P&gt;I have include the html file in my view and I wrote a java script in &lt;SCRIPT&gt; tag in same html file and its works fine but when I write that same code in application.js file it is not picking up. I just want to ask when we write java script code in application.js how splunk view takes it like in one example I saw like we need to match the view name as if Splunk.util.getCurrentView()..or sometime window.onload ..&amp;lt;br&amp;gt;
Please guide me abt application.js syntax please. I have done bump thing. :(&amp;lt;/p&amp;gt;&lt;/SCRIPT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2012 01:14:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-connect-splunk-view-with-java-script/m-p/86571#M44126</guid>
      <dc:creator>disha</dc:creator>
      <dc:date>2012-10-11T01:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to connect splunk view with java script</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-connect-splunk-view-with-java-script/m-p/86572#M44127</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;if (Splunk.util.getCurrentView() == 'put_your_view_name_here' ) {
        alert('Yay, my view loaded');
    }
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Aug 2013 16:15:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-connect-splunk-view-with-java-script/m-p/86572#M44127</guid>
      <dc:creator>joelzyla</dc:creator>
      <dc:date>2013-08-01T16:15:35Z</dc:date>
    </item>
  </channel>
</rss>

