Response title
This is preview!
You are trying to find #map before it is available on the page - so nothing happens. Wrap your map initialisation in a document.ready callback to have it happen once the DOM has finished loading.
Thanks kbwood!
I put document.ready around the 'mapIt' function but get nothing. I thought the code is executed in order down the page. So I call the server, receive the Marker information from the database, pick a Marker, and call the 'mapIt' function.
Please explain how to do this. I keep getting tripped up on this issue and can't get a handle on how to fix it.
© 2013 jQuery Foundation
Sponsored by and others.