title: How to Fire Personal Event in Javascript
body: <p>I can't fire personal events using Javascript in IE. In Firefox work great. </p>
  
  <p>My code is:</p>
  
  <pre><code>var evento; 
  if(document.createEventObject)  
  {  
     evento = document.createEventObject();  
     document.fireEvent('eventoPersonal', evento);     
  }  
  //FF  
  else  
  {  
      evento = document.createEvent('Events');  
      evento.initEvent('eventoPersonal',true,false);  
      document.dispatchEvent(evento);  
  }
  </code></pre>
  
  <p>But when try to execute <code>document.fireEvent('eventoPersonal', evento);</code> in IE, it doesn't work. How can I fire <strong>NO custom</strong> events in IE?</p>
  
  <p>In Internet Explorer I get the error: "Invalid arguments" in the line where execute  <code>document.fireEvent('eventoPersonal', evento);</code></p>