Button Click on home page > Google Maps don't show up on second page
UPDATING : Added my code.
So, if I am on Index.html and click on locate a spot > it goes to Locate.html but doesn't shows the map.
If I refresh the Locate.html, the map comes.
----
jQuery Mobile 1.2
---------
Hi All,
I created a button/ hyperlink on my home page (say page1.html).
When I clicked on this button/hyperlink(page2.html) , it goes to a page that shows Google maps and markers on the map.
My issue is when I click on button / hyperlink on page1.html > my map doesn't loads up on page2.html.
It shows blank.
If I load just the page2.html, i see the google map and the markers on it.
Please help and advise why the google map doesn't appear when going from one page to another.
Thanks
Jen