SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2009
    0 Post(s)
    0 Thread(s)

    Trying to load another page w/o refreshing using JS


    A friend and I are trying to fix a site.
    There is a test page:
    If you click on "who we are" - it is supposed to load this page: - without refreshing the index page.
    However, it doesn't seem to be working.

    When you load the URL directly on the browser, it does load the entire page as it should. But when you try to load it from the index page by clicking "who we are", it doesn't load completely (just partially).

    It seems there is a JS function that uses location.hash that is supposed to handle this. But as mentioned, it does not seem to be working. And since I'm no JS expert, I'm not even certain that we're looking in the right place.

    I was wondering if one of you guys could help us figure out what might be wrong with the code.

    Thanks in advance for any info.

  2. #2
    SitePoint Member
    Join Date
    Apr 2012
    Michigan, United States
    0 Post(s)
    0 Thread(s)
    yeah, its trying to load the following URL into the page:
    with result 404 - Not Found


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts