How do I accomplish this? Every time I try to load an external javascript file from google maps, it crashes the webpage and it becomes blank.
I used the $JQuery.get(); function.
I am using JQuery to load the file into the head.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Google maps probably uses
document.write. That explains the blank page. This is whydocument.writeis evil.Try downloading the google js file to disk and search for
document.write. If it’s there then your only option is to include it normally using the<script>tag.