<?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: Get &amp;quot;Value&amp;quot; from Dijit option, Yeah Right... in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321561#M29607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Perhaps I have it wrong, but as of this writing it "appears" that using the declarative method of creating a FilteringSelect box will cause a fatal error in a Javascript Web Mapping Application, i.e. any/all layers will fail to load in the map div.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the FilteringSelect to work, but only by implementing it programmtically with a json data store.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Aug 2010 12:25:16 GMT</pubDate>
    <dc:creator>KeithSandell</dc:creator>
    <dc:date>2010-08-12T12:25:16Z</dc:date>
    <item>
      <title>Get &amp;quot;Value&amp;quot; from Dijit option, Yeah Right...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321553#M29599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Once again I have spent too much time working on this to feel intelligent any longer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've implemented a dijit.form.ComboBox, followed by a dijit.formButton:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The idea here is after the user selects a "displayed value" in the combobox, they click the button and fire off a function that does something based on the "value" of the selected item (&amp;lt;option value="someValue"&amp;gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can get the "displayedValue" all day long and have found many ways to do that, but I simply cannot get inside the option to get the value of its attribute "value."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've read more dijit and dojo reference than I care to admit and have tried everything I can find on the web, but to no avail. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is kicking my @$$.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a million.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;function getData(){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var selectedVal =&amp;nbsp; {can't figure this part out};&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if (selectedVal == "expired") {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;do this;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;else if (selectedVal == "4") {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;do this;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;else if (selectedVal == "future") {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;do this;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;div id="dropDown"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;select dojoType="dijit.form.ComboBox" id="selBox" class="dropSlam" value="&amp;nbsp;Select..."&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="expired"&amp;gt;&amp;nbsp;Alex&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="expired"&amp;gt;&amp;nbsp;Bonnie&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="4"&amp;gt;&amp;nbsp;Colin&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Danielle&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Earl&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Fiona&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Gaston&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Hermine&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Igor&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Julia&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Karl&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Lisa&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Matthew&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Nicole&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Otto&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Paula&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Richard&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Shary&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Tomas&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Virginie&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;option value="future"&amp;gt;&amp;nbsp;Walter&amp;lt;/option&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/select&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;button dojoType="dijit.form.Button" type="button" onClick="getData();"&amp;gt;Retrieve Data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/button&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 20:07:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321553#M29599</guid>
      <dc:creator>KeithSandell</dc:creator>
      <dc:date>2010-08-10T20:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Value" from Dijit option, Yeah Right...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321554#M29600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I ran into this in the past and got around it by using a filtering select. Same appearance and functionality but you will also be able to get to your "hidden" values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit:&amp;nbsp; try it out here:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/_autoComplete.html?testWidget=dijit.form.FilteringSelect" rel="nofollow noopener noreferrer" target="_blank"&gt;http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/_autoComplete.html?testWidget=dijit.form.FilteringSelect&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Run this in the firebug console:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;dijit.byId("setvaluetest").get('value')
dijit.byId("setvaluetest").get('displayedValue')&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:15:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321554#M29600</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2021-12-11T15:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Value" from Dijit option, Yeah Right...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321555#M29601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;BLOCKQUOTE&gt;swingley;31358 wrote:&lt;BR /&gt;I ran into this in the past and got around it by using a filtering select. QUOTE]&lt;/BLOCKQUOTE&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks. I tried the Filtering Select as an alternative earlier, but it broke my application. Firebug references a line in ESRI's api:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.0"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;line 16&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its throwing error, "node is undefined". I'd paste the code, but it is way too long.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have dojo.require for it so I know its not that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any other alternatives/thoughts. I tried with std select, but it returns ~.get("value") is not a function.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 20:46:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321555#M29601</guid>
      <dc:creator>KeithSandell</dc:creator>
      <dc:date>2010-08-10T20:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Value" from Dijit option, Yeah Right...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321556#M29602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Make sure you're passing a valid node ID to the filtering select constructor...if you've got a lot of code, maybe just upload it as an attachment?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 21:25:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321556#M29602</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2010-08-10T21:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Value" from Dijit option, Yeah Right...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321557#M29603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree with Derek; FilteringSelect is the way to go. This is what mine looks like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;select dojoType="dijit.form.FilteringSelect"
 id="queries-combobox"
 name="queries-combobox"
 onChange="changeQuery(this.value);"
 style="width: 100%;"&amp;gt;
&amp;nbsp; &amp;lt;option value="-1"&amp;gt;Please select a query...&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="0"&amp;gt;Precision Cutting History&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="3"&amp;gt;Concrete Raising&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="6"&amp;gt;elev diff &amp;gt;= 1/4" WITHOUT tree&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="9"&amp;gt;elev diff &amp;gt;= 1/4" WITH tree&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="12"&amp;gt;spalled &amp;lt;= 2"&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="15"&amp;gt;cracked &amp;lt;= 2"&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="18"&amp;gt;sunk &amp;lt;= 2"&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="21"&amp;gt;elev diff &amp;gt;= 1" WITHOUT tree&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="24"&amp;gt;elev diff &amp;gt;= 1" WITH tree&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="27"&amp;gt;waterway hazard = 1 or 2&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="30"&amp;gt;ADA - ramp needed&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="33"&amp;gt;ADA - has tile (C or F)&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="36"&amp;gt;ADA - glue down rubber mat&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="39"&amp;gt;ADA - normal&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="42"&amp;gt;ADA - non-standard&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="45"&amp;gt;Tree Haz(1,2's) OWNER vs CITY&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="52"&amp;gt;Management Intern Projects&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="57"&amp;gt;ADA Contractors&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="82"&amp;gt;Current Projects&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="85"&amp;gt;Bomanite (Stamped Concrete)&amp;lt;/option&amp;gt;
&amp;nbsp; &amp;lt;option value="88"&amp;gt;Painted Hazards&amp;lt;/option&amp;gt;
&amp;lt;/select&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:15:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321557#M29603</guid>
      <dc:creator>ScottDavis</dc:creator>
      <dc:date>2021-12-11T15:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Value" from Dijit option, Yeah Right...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321558#M29604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd love to use the Filtering Select, but I can't even get as far as passing anything with or to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I set the dojoType="dijit.form.FilteringSelect" my app won't even load, and it throws the error I mentioned earlier.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just want to check, but what api version are ya'll using?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 22:13:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321558#M29604</guid>
      <dc:creator>KeithSandell</dc:creator>
      <dc:date>2010-08-10T22:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Value" from Dijit option, Yeah Right...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321559#M29605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've used Filtering Selects since v1.2 of the JS API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 00:38:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321559#M29605</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2010-08-11T00:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Value" from Dijit option, Yeah Right...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321560#M29606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're right. It does work at 2.0. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just took an ESRI sample and added a dojo.campus sample to it and it worked without a hitch. There must be something else in my code that is causing a conflict.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now to find it. I'm looking forward to implementing this so I can move on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But something good did come out of this. I learned a bit about using data stores along the way. That should help trim up my html page code a bit since I have a fair number of drop downs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 00:55:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321560#M29606</guid>
      <dc:creator>KeithSandell</dc:creator>
      <dc:date>2010-08-11T00:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Value" from Dijit option, Yeah Right...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321561#M29607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Perhaps I have it wrong, but as of this writing it "appears" that using the declarative method of creating a FilteringSelect box will cause a fatal error in a Javascript Web Mapping Application, i.e. any/all layers will fail to load in the map div.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the FilteringSelect to work, but only by implementing it programmtically with a json data store.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2010 12:25:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321561#M29607</guid>
      <dc:creator>KeithSandell</dc:creator>
      <dc:date>2010-08-12T12:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Value" from Dijit option, Yeah Right...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321562#M29608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have to be careful when you declarativily add widgets to your JavaScript application, as sometimes the dijit parser is a little slow in building DOM nodes, and therefore sometimes, the DOM node you look for may not be available. To solve this problem, you will need to do the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
djConfig:"parseOnLoad:false"
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
dojo.require("dojo.parser");

dojo.addOnLoad(function() {
&amp;nbsp; //the first thing you do should be to parse all widgets in the page. Only then continue
&amp;nbsp; dojo.parser.parse();
&amp;nbsp; //continue with esri.Map (etc.)
});
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:15:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321562#M29608</guid>
      <dc:creator>RahulRavikumar</dc:creator>
      <dc:date>2021-12-11T15:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Value" from Dijit option, Yeah Right...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321563#M29609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You have to be careful when you declarativily...Hope this helps.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the info. I'll keep this in mind if I run into a situation where a declarative implementation is best.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But for the time being I have kinda fallen for implementing them progromatically. It keeps the HTML to a minimum and since my lists are fairly large I like using the json becuase I can keep it in a seperate js file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 11:04:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321563#M29609</guid>
      <dc:creator>KeithSandell</dc:creator>
      <dc:date>2010-08-27T11:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get "Value" from Dijit option, Yeah Right...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321564#M29610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Get the selected item from the onChange event&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp; this.reportsDropdown = new ComboBox({
&amp;nbsp;&amp;nbsp;&amp;nbsp; store: _this.reportsStore,
&amp;nbsp;&amp;nbsp;&amp;nbsp; id: "cboReports",
&amp;nbsp;&amp;nbsp;&amp;nbsp; name: "cboReports",
&amp;nbsp;&amp;nbsp;&amp;nbsp; disabled: false,
&amp;nbsp;&amp;nbsp;&amp;nbsp; searchAttr: "label",
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;onChange: this.reportsChangedEventHandler&lt;/STRONG&gt;
&amp;nbsp;&amp;nbsp; }, this.cboReports);

&amp;nbsp; reportsChangedEventHandler: function() {
&amp;nbsp;&amp;nbsp; var report = this.item;
&amp;nbsp;&amp;nbsp; console.log("Report selected: " + report.value);
&amp;nbsp;&amp;nbsp; topic.publish("/Reports/changed", { report: report });
&amp;nbsp; }
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:15:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-amp-quot-value-amp-quot-from-dijit-option-yeah/m-p/321564#M29610</guid>
      <dc:creator>MichaelGaigg</dc:creator>
      <dc:date>2021-12-11T15:15:55Z</dc:date>
    </item>
  </channel>
</rss>

