title: Getting trouble with jQuery tabs in loading openlayers map
body: <p>I've four <code>jQuery tabs</code>, in second tab I'm showing <code>map</code> using the <code>openlayers library</code> then I'm getting following errors</p>
  
  <pre><code>Uncaught TypeError: Cannot call method 'clone' of null // onload error
  Uncaught TypeError: Cannot read property 'w' of null // getting  this error when zooming-in and out
  </code></pre>
  
  <p>I thought my code went wrong in initializing the <code>openlayers map object</code> or <code>somewhere</code>,but it was actually trouble with <code>jQuery tabs</code>. If I'm placing <code>map div</code> in first tab then its showing <code>map</code> as expected.</p>
  
  <p>I tried <a href="https://stackoverflow.com/questions/3333932/openlayers-inside-jquery-ui-tabs">this</a> but not solved the issue when placing <code>map div</code> in second tab.</p>
  
  <p><strong>Update Below Content:</strong></p>
  
  <p>If I write <code>jQuery tabs</code> code after the <code>map object</code> creation then its working fine in <code>chrome</code> but map destructing in <code>firefox</code>.</p>
  
  <p>How can we call initialize <code>jQuery tabs</code> after execution of a user defined function?</p>