javascript - Importing JS file with AJAX does not work -
i had javascript code working when tried put own file, stopped working :)
here url use: http://www.comehike.com/hikes/javascript_library.js
any idea why doesn't work? test working, try hitting url see if google map shows if js on page. http://www.comehike.com/hikes/hike_carpool.php?hike_id=125
thanks, alex
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"> </script> <script language="javascript" src="javascript_library.js"> </script>
place google map api before javascript_library.js (aka map scripts)
and remove script tag javascript_library.js
Comments
Post a Comment