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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T21:46:06+00:00 2026-05-18T21:46:06+00:00

hello :) I posted a question a day or two ago about how to

  • 0

hello 🙂 I posted a question a day or two ago about how to retrieve php via ajax method in this modal I was using. I kinda found out the right way to go about it, but there’s still something I’m not doing right (obviously lol) Here’s the section thats giving me the issues:

   jQuery('div that holds content').fadeIn(200).css({ 'width': Number( popWidth ) });
    $('').load('/something/somewhere/this #content');

So, im using safari, and a local server (mamp), when I check activity in my browser, it shows that it is loading the content with every click, AND the pop up pops up, but no content. When I simply retrieve content via hidden div, ofcourse, i get it. This is what I’m trying to avoid. right now I have that div in my footer stashed as hidden. I’d rather just make a call when its needed, instead of loading it every single time a page is accessed.

you can go here to see the whole script i posted in my last question:
How to use ajax to show php in a modal pop up

Anyone have any idea? I read that .load() has the ability to grab specific content from a request, but im not sure the major difference between that and $.get() I’ve tried both, and I get the same results. Im using wordpress, and wordpress’s ajax requests run smooth as ever, so I know its not a local problem, i’ts my coding lol

Ok….Im done typing 🙂

  • 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-18T21:46:07+00:00Added an answer on May 18, 2026 at 9:46 pm

    For that to work, there must be a URL at your site, /something/somewhere/this. That page needs to contain an element with an id content.

    See “Loading Page Fragments” at the load documentation

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

Sidebar

Related Questions

Im' wondering if this is possible: I've successfully used __set() magic method to set
Hey, I wrote this (fortran) with the aim of finding the minimum spanning tree
I am trying to print Hello + written text in text box (As I
I'm predominately a Java guy, which is why I need some assistance on what
I am trying to create a small function that returns the number of spaces
I saw the following example disccussed here previously, where the goal was to return
I'm attempting to create my own custom ToolTip for a program I've ported to
I was talking to a friend of mine that through my new code I
It's weird! I was working on my CSS and jquery just stopped working! checked
In an attempt to organize my code, I'm trying to split up my (lengthy)

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.