title: JQuery Error: Object doesn't support property or method 'addEventListener'
body: <p>Please I really need your help had been trying to work this for days.</p>
  
  <ul>
  <li>I'm using JQuery jQuery-ui-1.10.4.</li>
  <li>I use IE 10 in my development in my localhost.</li>
  <li>On my localhost it works in the IE, Chrome and Firefox.</li>
  </ul>
  
  <p>But when I deploy it in the server IIS and access the page it have an error: </p>
  
  <blockquote>
    <p>Object doesn't support property or method 'addEventListener' </p>
  </blockquote>
  
  <p>But when I use Chrome and Firefox to access my page in the server, there is no error.</p>
  
  <p>So I'm confused how to deal with this.</p>
  
  <p>Please kindly help me.</p>
  
  <p>The code is below. 'email_button' is the name of my button that when clicked should open a popup div dialog.</p>
  
  <pre><code>//get a reference to the element
  var myBtn = document.getElementById('email_button');
  //add event listener
  myBtn.addEventListener('click', function(event) {
  $( "#dialog-form" ).addClass("visible");
  $( "#dialog-form" ).dialog( "open" );
  });
  </code></pre>
  
  <p>Thank you in advance.</p>