<?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: TypeError: query is not a function in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/typeerror-query-is-not-a-function/m-p/387567#M10339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was is the name of the parameter you assigned the require to? Is is &lt;EM&gt;query&lt;/EM&gt;? It looks like you have "esri/tasks/query" as well, so did you give dojo/query a unique var?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jan 2017 21:25:40 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2017-01-18T21:25:40Z</dc:date>
    <item>
      <title>TypeError: query is not a function</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/typeerror-query-is-not-a-function/m-p/387564#M10336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I wanted to get html elements for a class using dojo/query within then() of queryTask. Please see below. Using query(class) return a "TypeError: query is not a function." But it worked when i used document.getElementsByClassName(classname). What did I missed on the query way? Thanks!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/304788_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/304787_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 20:33:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/typeerror-query-is-not-a-function/m-p/387564#M10336</guid>
      <dc:creator>Alexwang</dc:creator>
      <dc:date>2017-01-18T20:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: TypeError: query is not a function</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/typeerror-query-is-not-a-function/m-p/387565#M10337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Do you have the require for "dojo/query" in you require list?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 21:14:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/typeerror-query-is-not-a-function/m-p/387565#M10337</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-01-18T21:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: TypeError: query is not a function</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/typeerror-query-is-not-a-function/m-p/387566#M10338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert for your quick response. Yes i double checked and do have&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;"dojo/query" &amp;nbsp;module in the list.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 21:22:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/typeerror-query-is-not-a-function/m-p/387566#M10338</guid>
      <dc:creator>Alexwang</dc:creator>
      <dc:date>2017-01-18T21:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: TypeError: query is not a function</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/typeerror-query-is-not-a-function/m-p/387567#M10339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was is the name of the parameter you assigned the require to? Is is &lt;EM&gt;query&lt;/EM&gt;? It looks like you have "esri/tasks/query" as well, so did you give dojo/query a unique var?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 21:25:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/typeerror-query-is-not-a-function/m-p/387567#M10339</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-01-18T21:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: TypeError: query is not a function</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/typeerror-query-is-not-a-function/m-p/387568#M10340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;lol... thank you, Robert. I have a local variable called query which caused the problem.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 21:36:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/typeerror-query-is-not-a-function/m-p/387568#M10340</guid>
      <dc:creator>Alexwang</dc:creator>
      <dc:date>2017-01-18T21:36:25Z</dc:date>
    </item>
  </channel>
</rss>

