<?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 My JQuery template working with drag and drop code template in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/my-jquery-template-working-with-drag-and-drop-code/m-p/570682#M53204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a pretty general/complex question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My &lt;A href="http://134.186.111.22/AG_Sandbox/layout-master/demos/Map-Viewer_New_DragDrop.html"&gt;script is here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to re-use the drag and drop code &lt;A href="https://developers.arcgis.com/javascript/jssamples/exp_dragdrop.html"&gt;here &lt;/A&gt;. within my own JQuery. All I see that is needed are modules and then "mapCanvas" ID to hook up drophandler with the map canvas in html, and the script of course. But I keep getting errors such as "TypeError" (on is undefined) and such. I copied and pasted the template code to my app. What should I modify to make the drag and drop work in my template??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tip or advice is welcome.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Sep 2014 20:50:18 GMT</pubDate>
    <dc:creator>AlexGole</dc:creator>
    <dc:date>2014-09-25T20:50:18Z</dc:date>
    <item>
      <title>My JQuery template working with drag and drop code template</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/my-jquery-template-working-with-drag-and-drop-code/m-p/570682#M53204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a pretty general/complex question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My &lt;A href="http://134.186.111.22/AG_Sandbox/layout-master/demos/Map-Viewer_New_DragDrop.html"&gt;script is here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to re-use the drag and drop code &lt;A href="https://developers.arcgis.com/javascript/jssamples/exp_dragdrop.html"&gt;here &lt;/A&gt;. within my own JQuery. All I see that is needed are modules and then "mapCanvas" ID to hook up drophandler with the map canvas in html, and the script of course. But I keep getting errors such as "TypeError" (on is undefined) and such. I copied and pasted the template code to my app. What should I modify to make the drag and drop work in my template??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tip or advice is welcome.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 20:50:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/my-jquery-template-working-with-drag-and-drop-code/m-p/570682#M53204</guid>
      <dc:creator>AlexGole</dc:creator>
      <dc:date>2014-09-25T20:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: My JQuery template working with drag and drop code template</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/my-jquery-template-working-with-drag-and-drop-code/m-p/570683#M53205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My advice is to create a smaller sample of the drag and drop, without all of your extra application code.&lt;/P&gt;&lt;P&gt;When you get it to work on a smaller scale, and understand *how* it works, it should be easier to implement in your main application.&lt;/P&gt;&lt;P&gt;That TypeError is very clear in describing an eventing issue.&lt;/P&gt;&lt;P&gt;Copy and pasting large chunks of code and expecting it to work is not recommended or feasible in an already-large application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 19:49:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/my-jquery-template-working-with-drag-and-drop-code/m-p/570683#M53205</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2014-09-26T19:49:30Z</dc:date>
    </item>
  </channel>
</rss>

