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 6677599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:08:30+00:00 2026-05-26T04:08:30+00:00

This should be fairly simple, but it’s just not loading for me. Here’s my

  • 0

This should be fairly simple, but it’s just not loading for me. Here’s my html:

<div id="accordion">

</div>

That’s taken out of a WordPress page, if it matters. Here’s my jQuery, which is called in my header.php file. Here’s the jQuery I have, not sure it’s correct or not:

$('#accordion').load('/site/wp-content/themes/theme/acc.php');

I copied the information that used to be inside that div and stuck it in that external file. As I’m writing this, I’m going to check to make sure the path is correct, because it just hit me that that could easily be the problem.

Thanks guys/gals!

SOLVED :: Code was right, I was just calling the wrong .js file in my header!

  • 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-26T04:08:31+00:00Added an answer on May 26, 2026 at 4:08 am

    you code looks correct. possible problems are:

    • the path is incorrect
    • you havn’t wrapped you code in a domready-event:

      $(function(){ /* your code goes here */ });

    • some kind of javascript-error – use firebug or something similar to check this

    please check this, and if you find a problem you can’t solve on your own (a javascript-error you don’t understand, for example) please update your answer with the additional information.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This should be fairly simple, but I just can't see the logic in it!
I know this should be fairly simple but I don't get it anyhow. I've
This seems like it should be fairly simple, but for some reason I can't
This should be fairly simple from what I can find online, but I can't
I am trying to do something that should be fairly simple but ISNULL isn't
I've a question that should be fairly simple, but I have yet to find
I've got a fairly simple pagination algorithm here but it's not working the way
I want to do something that seems like it should be fairly simple, but
It feels like this should be fairly simple but nothing i've tried so far
This should be a fairly simple question but I know very little about SQL.

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.