<?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: beginner's question on Javascript API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168939#M15660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you upload the htm file, or copy/paste the code you used?&amp;nbsp; If you copy/paste, take a look at this post on how to do so in GeoNET:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migration-blogpost/1070"&gt;Posting Code blocks in the new GeoNet&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Feb 2015 14:39:23 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2015-02-05T14:39:23Z</dc:date>
    <item>
      <title>beginner's question on Javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168936#M15657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all, I'm trying to set up my very first web page using the Javascript API.&amp;nbsp; Just copied and pasted the code from ESRI's "Build your first application" into a text editor, saved it as an .htm document (careful NOT to have a .txt suffix), and put in on my web server.&amp;nbsp; But when I open that .htm file in my browser as a URL, it just displays the plain text of the code in the .htm file.&amp;nbsp; It's not showing the map or reading/interpreting the HTML and Javascript code to get that content.&amp;nbsp; So what am I missing here?&amp;nbsp; Thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 14:35:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168936#M15657</guid>
      <dc:creator>DanielSchatt</dc:creator>
      <dc:date>2015-02-05T14:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: beginner's question on Javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168937#M15658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the code you wrote? Also besides the suffix you should save file as type to all files. Some text editors default to text document and you don't want that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 14:36:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168937#M15658</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-02-05T14:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: beginner's question on Javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168938#M15659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please share your code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;probable issues..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. is your JS files are in right path ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. is your REST end point correct ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 14:38:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168938#M15659</guid>
      <dc:creator>Venkata_RaoTammineni</dc:creator>
      <dc:date>2015-02-05T14:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: beginner's question on Javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168939#M15660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you upload the htm file, or copy/paste the code you used?&amp;nbsp; If you copy/paste, take a look at this post on how to do so in GeoNET:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migration-blogpost/1070"&gt;Posting Code blocks in the new GeoNet&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 14:39:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168939#M15660</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2015-02-05T14:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: beginner's question on Javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168940#M15661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Chris.&amp;nbsp; Here it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;lt;html&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;lt;head&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp; &amp;lt;title&amp;gt;Create a Map&amp;lt;/title&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp; &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp; &amp;lt;meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://js.arcgis.com/3.12/dijit/themes/claro/claro.css" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.12/dijit/themes/claro/claro.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://js.arcgis.com/3.12/esri/css/esri.css" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.12/esri/css/esri.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp; &amp;lt;style&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; html, body, #mapDiv{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding: 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 100%;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp; &amp;lt;/style&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://js.arcgis.com/3.12/" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.12/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp; &amp;lt;script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var map;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; require(["esri/map", "dojo/domReady!"], function(Map) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map = new Map("mapDiv", {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; center: [-56.049, 38.485],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zoom: 3,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basemap: "streets"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;lt;/head&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;lt;body class="claro"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp; &amp;lt;div id="mapDiv"&amp;gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;lt;/body&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;lt;/html&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 14:39:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168940#M15661</guid>
      <dc:creator>DanielSchatt</dc:creator>
      <dc:date>2015-02-05T14:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: beginner's question on Javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168941#M15662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had no problems with your code. Are you opening it with a browser?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 14:42:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168941#M15662</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-02-05T14:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: beginner's question on Javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168942#M15663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, in both Firefox and IE.&amp;nbsp; I assumed maybe I was leaving out some basic step, but apparently not...might be some setting I need to change in my browser?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 14:45:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168942#M15663</guid>
      <dc:creator>DanielSchatt</dc:creator>
      <dc:date>2015-02-05T14:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: beginner's question on Javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168943#M15664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is exactly how you do it. I recorded my screen and explained it in this video:&lt;/P&gt;&lt;P&gt;&lt;IFRAME frameborder="0" width="440" height="300" src="https://www.youtube.com/embed/LIbprHTOsR4" allowfullscreen=""&gt;&lt;/IFRAME&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 14:53:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168943#M15664</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-02-05T14:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: beginner's question on Javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168944#M15665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Chris and everyone, got it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 15:01:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/beginner-s-question-on-javascript-api/m-p/168944#M15665</guid>
      <dc:creator>DanielSchatt</dc:creator>
      <dc:date>2015-02-05T15:01:55Z</dc:date>
    </item>
  </channel>
</rss>

