How to load javascript function on page load ?
<p>I have used javascript to generate 2D bar-graphs in a HTML page.
When i am trying to load this HTML page containing bar-graph in to a div tag of some other HTML page using jQuery <code>.load()</code> function bar-graph (i.e, scripts) are not loading.</p>

<p>Please help on this issue.</p>

<p>For example i have bar-graph in <code>xyz.html</code>. 
I am trying to load <code>xyz.html</code> in <code>abc.html</code> div tag using jquery <code>.load()</code> function. 
Bar-graphs are missing.</p>

<p>Hoping for a reply, thanks for help in advance. </p>
