title: how to get value of one variable from one js to another js file in jquery mobile
body: <p>Hi am having one index file with login.js where value of var imp is set, i need to use this var imp value in another html file where am including another js file where differnt dialogs are populated depending on functions. But am not able to get the value can someone help me please thanks.</p>
  
  <p>in index.jsp i added login.js. in second.html i included both login.js and function.js where in login.js i added a function as </p>
  
  <pre><code>function getSolutionURL(){
   return baseURL;
   } 
  </code></pre>
  
  <p>where this method is called inside second.html page on document.ready but it is not working </p>