Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 268355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T23:41:23+00:00 2026-05-11T23:41:23+00:00

I am having issues with loading external javascript using JQuery. Every time when I

  • 0

I am having issues with loading external javascript using JQuery. Every time when I try to load this external file, browser window becomes blank and in Firefox it redirects to something like:

wyciwyg://40/http://mydomain.com/myfile.html

What I am trying to do, is to load walkscore google map into one of div’s on the page. I’ve tried using $.get() method, .load(), $.getScript() and $.requireScript() jquery plugin, and nothing works EXCEPT one case, when I put alert() right after the $.get() method. In this case browser is not redirected anywhere and walkscore map show up on the page.

This is my script in head section:

<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">

    function loadWalkScore() { $.get("http://www.walkscore.com/tile/show-tile.php?wsid=87439b0626c9eaeacfd6d8d5598afc13",null,null,"script"); } </script>

Script in the body of the page:

<div id="contentArea" style="margin: 20px 0px 10px 10px; border: 1px solid #CCC;">

<script type="text/javascript">
    var ws_lat = "40.710318";
    var ws_lon = "-74.016553";
    var ws_width = "630";
    loadWalkScore();
</script>

</div>

Please also see all examples I have (only first one works):

// 1. $.get() – working example, has alert right after the $.get() method

websvit. com/tabs/walkscore-with-alert.html

// 2. $.get() – exactly the same as above without alert, doesnt work

websvit. com/tabs/walkscore-get.html

// 3. .load() – loading html file with walkscore js, doesnt work

websvit. com/tabs/walkscore-load.html

// 4. $.getScript() – doesnt work

websvit. com/tabs/walkscore-getscript-external.html

// 5. $.getScript() locally saved walkscore js, doesnt work

websvit. com/tabs/walkscore-getscript-local.html

// 6. $.requireScript() – using jquery plugin, doesnt work

websvit. com/tabs/walkscore-get-plugin.html

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T23:41:23+00:00Added an answer on May 11, 2026 at 11:41 pm

    I have a solution to my problem. I found a way to avoid using ajax to load walkscore javascript but to use simple iframe. In case if someone will have similar issue with walkscore map, I am posting code here.

        var ws_lat = "40.710318";
        var ws_lon = "-74.016553";
        var ws_width = "630";
        var ws_height = "300";
        var ws_iframe_css_final = "border: 0";
    
        var ws_params = "wsid=87439b0626c9eaeacfd6d8d5598afc13";
        ws_params += "&lat=" + ws_lat + "&lng=" + ws_lon;
    
        $("#walkscore_map").html('<iframe src="http://www.walkscore.com/serve-tile.php?' + ws_params + '" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" frameborder="0" scrolling="no" width="' + ws_width + 'px" height="' + ws_height + 'px" style="' + ws_iframe_css_final + '"></iframe>');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 129k
  • Answers 129k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The major flaw I noticed: you must verify the padding… May 12, 2026 at 5:56 am
  • Editorial Team
    Editorial Team added an answer Had you actually started the process when the debugger picture… May 12, 2026 at 5:56 am
  • Editorial Team
    Editorial Team added an answer Have you read the mod_perl website's bit on Alternative Exception… May 12, 2026 at 5:56 am

Related Questions

I am wanting to use the Facebox plugin for JQuery but am having a
I'm trying to build an InfoPath add-in to allow template editors (as opposed to
I am having an issue with updating the contents of an myInfoBox object I
I have a GUI C# application that has a single button Start/Stop. Originally this

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.