document.ready not work in jquery dialog box.
Hi,
I have make simple jquery mobile page for display data from server. I have also display graph of data on click.
I have made external page for display graph using jqplot and its works.
I want to open this graph in jqm dialog box but it did not work. why ?
Code of open graph page
- <a href="external_php_page_link" data-rel="dialog" data-transition="flip"><img src="images/graph_icon.png" align="absmiddle"/></a>
Its open page properly but display only HTML buttons that i have already in put in page instead of graph.
How to solve this problem ?
I have also tried another solution for it.
I have put external page code in div of same page and open as dialog but same problem graph did not load why ?
How to use document.ready function in popup window ?
Please help me how to solved this problem. Or another way to work this
Thanks,
Hardik