<?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 update dojo and dom codes at arcgis java script 4.20 api? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-update-dojo-and-dom-codes-at-arcgis-java/m-p/1082531#M74012</link>
    <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;But I have these Errors:&lt;/P&gt;&lt;P&gt;Uncaught SyntaxError: Unexpected token '&amp;lt;'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Uncaught TypeError: BingMapsLayer is not a constructor&lt;/P&gt;</description>
    <pubDate>Sun, 25 Jul 2021 12:56:29 GMT</pubDate>
    <dc:creator>anjelinaponkerat</dc:creator>
    <dc:date>2021-07-25T12:56:29Z</dc:date>
    <item>
      <title>how update dojo and dom codes at arcgis java script 4.20 api?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-update-dojo-and-dom-codes-at-arcgis-java/m-p/1081688#M73978</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;My Site has many errors after update to 4.20, I know 4.2 version don't use dojo. How&amp;nbsp; can I update dojo and dom codes at arcgis javascript 4.20 api? I don't know how can I update my code and which part of my codes should change?&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;on(dojo.query("#pse_meter"), "change", function () {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 11:32:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-update-dojo-and-dom-codes-at-arcgis-java/m-p/1081688#M73978</guid>
      <dc:creator>anjelinaponkerat</dc:creator>
      <dc:date>2021-07-22T11:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: how update dojo and dom codes at arcgis java script 4.20 api?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-update-dojo-and-dom-codes-at-arcgis-java/m-p/1081698#M73980</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/54064"&gt;@anjelinaponkerat&lt;/a&gt;&amp;nbsp; Dojo is not gone, it is just not required. In 4.x you should just u&lt;SPAN&gt;se native HTML code to get dom elements.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const el = document.getElementById("#pse_meter");
el.addEventListener("change", function () {&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 12:38:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-update-dojo-and-dom-codes-at-arcgis-java/m-p/1081698#M73980</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-07-22T12:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: how update dojo and dom codes at arcgis java script 4.20 api?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-update-dojo-and-dom-codes-at-arcgis-java/m-p/1081781#M73985</link>
      <description>&lt;P&gt;If you don't want to re-write the code, you should be able to bring dojo into your project separately from the arcgis api:&lt;/P&gt;&lt;P&gt;&lt;A href="https://dojotoolkit.org/download/" target="_blank"&gt;https://dojotoolkit.org/download/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Either add the cdn url in a script tag to your index.html, or download the toolkit and link to it from your local copy.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 15:41:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-update-dojo-and-dom-codes-at-arcgis-java/m-p/1081781#M73985</guid>
      <dc:creator>BenRomlein</dc:creator>
      <dc:date>2021-07-22T15:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: how update dojo and dom codes at arcgis java script 4.20 api?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-update-dojo-and-dom-codes-at-arcgis-java/m-p/1082531#M74012</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;But I have these Errors:&lt;/P&gt;&lt;P&gt;Uncaught SyntaxError: Unexpected token '&amp;lt;'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Uncaught TypeError: BingMapsLayer is not a constructor&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jul 2021 12:56:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-update-dojo-and-dom-codes-at-arcgis-java/m-p/1082531#M74012</guid>
      <dc:creator>anjelinaponkerat</dc:creator>
      <dc:date>2021-07-25T12:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: how update dojo and dom codes at arcgis java script 4.20 api?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-update-dojo-and-dom-codes-at-arcgis-java/m-p/1082710#M74016</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/54064"&gt;@anjelinaponkerat&lt;/a&gt;&amp;nbsp;There are many code change you have to do if you are updating from 3.x to 4.x.&lt;/P&gt;&lt;P&gt;Sounds like you have some syntax error(s) in your code. Hard to say what.&lt;/P&gt;&lt;P&gt;Here is the doc link for 4.x BingMapsLayer.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BingMapsLayer.html#constructors-summary" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BingMapsLayer.html#constructors-summary&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 12:22:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-update-dojo-and-dom-codes-at-arcgis-java/m-p/1082710#M74016</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-08-02T12:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: how update dojo and dom codes at arcgis java script 4.20 api?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-update-dojo-and-dom-codes-at-arcgis-java/m-p/1191801#M77912</link>
      <description>&lt;P&gt;Thanks for the information. How do I know, which dojo version I can use? Is there any recommendation?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 08:20:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-update-dojo-and-dom-codes-at-arcgis-java/m-p/1191801#M77912</guid>
      <dc:creator>StefanUseldinger</dc:creator>
      <dc:date>2022-07-13T08:20:04Z</dc:date>
    </item>
  </channel>
</rss>

