title: Prevent display turn off in a Mobile Browser
body: <p>I'm creating a Mobile Based web page &amp; I'm using web socket connection to handle a chat room. But I want the display turning on every time when user go to the web page by mobile browser.</p>
  
  <p>I tried to simulate Button Click from,</p>
  
  <pre><code>function eventFire(el, etype){
      if (el.fireEvent) { 
            el.fireEvent('on' + etype); 
       } else {
          var evObj = document.createEvent('Events');
          evObj.initEvent(etype, true, false); 
          el.dispatchEvent(evObj); 
       } 
  }
  </code></pre>
  
  <p>But still mobile display turn off after particular time. Please can anyone help me with this??</p>