<?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 Buttons and Geocoder Dijit in IE10 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buttons-and-geocoder-dijit-in-ie10/m-p/318187#M29345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is just a helpful workaround I have been able to implement... if someone found themselves with a similar situation maybe it will work for them...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I recently added the Geocoder dijit to an application.&amp;nbsp; I was using a dojo layout with an accordion panel containing a variety of buttons (just regular buttons, not dojo buttons) on the left....&amp;nbsp; my Map div was placed in the center.... pretty standard...&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My geocode dijit worked great in Firefox and Chrome when I typed in an address and pressed the enter key.&amp;nbsp; However, Internet Explorer 10 would not start the search; rather, it would fire on a button in the selected accordion panel.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I attempted to use an event listener on the geocoder to find out what was/wasnt firing... every key on the keyboard provided me with event information except the enter key...&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
on(dom.byId('search_input'), "keyup", function (event) {
 console.log(event);
}); 
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It wasnt until I specifically set the &amp;lt;button&amp;gt; tags to type="button" that things behaved correctly in internet explorer 10.&amp;nbsp; Maybe this was a 'rookie' mistake and most of you provide a button type, but chances are there are folks out there just like me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyways, I've always received good help using this forum when I couldnt find solutions, so I thought I would share a scenario/solution of my own.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Feb 2014 20:49:13 GMT</pubDate>
    <dc:creator>JeffreySchmidt</dc:creator>
    <dc:date>2014-02-06T20:49:13Z</dc:date>
    <item>
      <title>Buttons and Geocoder Dijit in IE10</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buttons-and-geocoder-dijit-in-ie10/m-p/318187#M29345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is just a helpful workaround I have been able to implement... if someone found themselves with a similar situation maybe it will work for them...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I recently added the Geocoder dijit to an application.&amp;nbsp; I was using a dojo layout with an accordion panel containing a variety of buttons (just regular buttons, not dojo buttons) on the left....&amp;nbsp; my Map div was placed in the center.... pretty standard...&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My geocode dijit worked great in Firefox and Chrome when I typed in an address and pressed the enter key.&amp;nbsp; However, Internet Explorer 10 would not start the search; rather, it would fire on a button in the selected accordion panel.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I attempted to use an event listener on the geocoder to find out what was/wasnt firing... every key on the keyboard provided me with event information except the enter key...&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
on(dom.byId('search_input'), "keyup", function (event) {
 console.log(event);
}); 
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It wasnt until I specifically set the &amp;lt;button&amp;gt; tags to type="button" that things behaved correctly in internet explorer 10.&amp;nbsp; Maybe this was a 'rookie' mistake and most of you provide a button type, but chances are there are folks out there just like me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyways, I've always received good help using this forum when I couldnt find solutions, so I thought I would share a scenario/solution of my own.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 20:49:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buttons-and-geocoder-dijit-in-ie10/m-p/318187#M29345</guid>
      <dc:creator>JeffreySchmidt</dc:creator>
      <dc:date>2014-02-06T20:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Buttons and Geocoder Dijit in IE10</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buttons-and-geocoder-dijit-in-ie10/m-p/318188#M29346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much. I had same problem and didn't know how to fix it. After struggling it over a week, I was finally able to fix it following your instruction. I had no idea that other tag caused the problem just for IE. I really appreciate you posted this. Thanks~!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Dec 2014 15:57:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/buttons-and-geocoder-dijit-in-ie10/m-p/318188#M29346</guid>
      <dc:creator>JihoonSon</dc:creator>
      <dc:date>2014-12-31T15:57:25Z</dc:date>
    </item>
  </channel>
</rss>

