title: How to add script element dynamically on Blackberry browser?
body: <p>I am on blackberry9300 (5.0.0.832). And I am trying to add a javascript element programmatically.<pre><code>var script=document.createElement('script');
  script.src='file.js';
  script.type='text/javascript';
  script.onload=function(){alert('loaded');}; //Nothing happens
  script.addEventListener('load', function(){alert('loaded');}, false); //Nothing happens
  script.addEventListener('readystatechange', function(){alert('state changed');}, false); //Nothing happens
  script.onreadystatechange=function(){alert('state changed')}; //Nothing happens
  document.getElementsByTagName('head').item(0).appendChild(script);</code></pre>Is there any way to workaround this issue?</p>