title: IBM worklight - Call worklight adapter from another html file
body: <p>i've created another file testW.html beside main file and i've try to call worklight adapter in that file but it isn't work:
  <img src="https://i.stack.imgur.com/d9uZd.jpg" alt="enter image description here"></p>
  
  <p>Here is my testW.html:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script&gt;window.$ = window.jQuery = WLJQ;&lt;/script&gt;
      &lt;script type="text/javascript" data-dojo-config="isDebug: false, async: true, parseOnLoad: true, mblHideAddressBar: false" src="dojo/dojo.js"&gt;&lt;/script&gt;
  
  &lt;/head&gt;
  &lt;body onload="WL.Client.init({})"&gt;
  &lt;h1&gt;Hello&lt;/h1&gt;
  &lt;button type="button" onclick="LoginWS();"&gt;Click Me!&lt;/button&gt;
  
  &lt;script src="js/PushAppRealmChallengeHandler.js"&gt;&lt;/script&gt;
      &lt;script src="js/initOptions.js"&gt;&lt;/script&gt;
      &lt;script src="js/test2.js"&gt;&lt;/script&gt;
      &lt;script src="js/configFb.js"&gt;&lt;/script&gt;
      &lt;script src="js/messages.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>In here, LoginWS() is function call worklight adapter in test2.js,i've try call it in test2.html every thing is ok,how i call it in testW.html ?</p>