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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:37:21+00:00 2026-05-16T14:37:21+00:00

here is what I have (please excuse the crappy art): —————————————— |Menu | |—————————-|

  • 0

here is what I have (please excuse the crappy art):

------------------------------------------
|Menu     | |----------------------------|
|         | |Big Div                     |
|         | |                            |
|         | |  ------------------------  |
|         | | |Smaller Reloading Div   | |
|         | | |                        | |
|         | | |                        | |
|         | | |                        | |
|         | | |                        | |
|         | | |                        | |
|         | |  ------------------------  |
|         | |                            |
|         | |----------------------------|
------------------------------------------

This ties to another post I had earlier, basically when the user clicks a link, a script is loaded into the big div, the big div (which contains the smaller div, later on, I need to reload the smaller div but it requires variable available only in the big div, and I cannot include them in the small one for other reasons, basically the script works when you load everything at once but when you try to dynamically load the small div i get a “Invalid argument supplied” error, here is how my code structure:

Big Div Start:
...Query...
...sort results into array...

small div starts:
...Display results from array (works fine first time)...

small div ends
big div ends

Now I do not want the first query to be repeated every time the small div reloads, so how to go about that? should i be passing the array in a $_post variable once the smaller div is called? or is there a better option?

Thanks

  • 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-16T14:37:22+00:00Added an answer on May 16, 2026 at 2:37 pm

    If you want to execute some code after big div loaded, put this code into your json response and execute it using eval.

    It you do not want to execute code just don’t put it into small div.

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

Sidebar

Related Questions

Please help this beginner here... I have a SQL Server 2008 R2 running on
I am not sure if this belongs to superuser. Please excuse. Here is what
Here's one I have always wondered about... Please excuse my naivety, but - How
Im testing out something here,so please excuse the css rules.I have got a ul
My first ever question here. Please excuse me, I have just entered into C++
Please help me to rectify my code. Here I have described the code what
Can anyone please help. I'm following a tutorial found here as I have a
Please help me out here because im getting kind of confused.. I have a
am new here. i have a slight problem; PLease look at the following code
I have a script for dynamic javascript date picker, taken from here . Please

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.