<?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 Search Manager Javascript in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Search-Manager-Javascript/m-p/131147#M7730</link>
    <description>&lt;P&gt;When I convert my simple XML files with form inputs to HTML Dashboard&lt;BR /&gt;
Suppose I am having a text input in my simple xml while converting to HTML Dashboard, Javascript with following code is generated in my HTML Dashboard. &lt;BR /&gt;
var field2 = new TextInput({&lt;BR /&gt;
            "id": "field2",&lt;BR /&gt;
            "value": "$form.Direction$",&lt;BR /&gt;
            "default":"*",&lt;BR /&gt;
            "el": $('#field2')&lt;BR /&gt;
        }, {tokens: true}).render(); &lt;BR /&gt;
In the above code, I need a description on the following statement ( like what is the purpose of  the statement)&lt;BR /&gt;
"el": $('#field2')&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jul 2014 07:19:23 GMT</pubDate>
    <dc:creator>Mubarish</dc:creator>
    <dc:date>2014-07-04T07:19:23Z</dc:date>
    <item>
      <title>Search Manager Javascript</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Search-Manager-Javascript/m-p/131147#M7730</link>
      <description>&lt;P&gt;When I convert my simple XML files with form inputs to HTML Dashboard&lt;BR /&gt;
Suppose I am having a text input in my simple xml while converting to HTML Dashboard, Javascript with following code is generated in my HTML Dashboard. &lt;BR /&gt;
var field2 = new TextInput({&lt;BR /&gt;
            "id": "field2",&lt;BR /&gt;
            "value": "$form.Direction$",&lt;BR /&gt;
            "default":"*",&lt;BR /&gt;
            "el": $('#field2')&lt;BR /&gt;
        }, {tokens: true}).render(); &lt;BR /&gt;
In the above code, I need a description on the following statement ( like what is the purpose of  the statement)&lt;BR /&gt;
"el": $('#field2')&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2014 07:19:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Search-Manager-Javascript/m-p/131147#M7730</guid>
      <dc:creator>Mubarish</dc:creator>
      <dc:date>2014-07-04T07:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Search Manager Javascript</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Search-Manager-Javascript/m-p/131148#M7731</link>
      <description>&lt;P&gt;&lt;CODE&gt;$('#field2')&lt;/CODE&gt; is JQuery for "grab the HTML element with id='field2'", and whatever is returned is passed into the &lt;CODE&gt;TextInput&lt;/CODE&gt;' constructor as the &lt;CODE&gt;el&lt;/CODE&gt; property, short for "element".&lt;/P&gt;

&lt;P&gt;In other words, that tells the &lt;CODE&gt;TextInput&lt;/CODE&gt; to render itself within the HTML element with &lt;CODE&gt;id="field2"&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2014 19:37:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Search-Manager-Javascript/m-p/131148#M7731</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-07-04T19:37:35Z</dc:date>
    </item>
  </channel>
</rss>

