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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:04:21+00:00 2026-05-25T02:04:21+00:00

I have a query and don’t know where to start – I have a

  • 0

I have a query and don’t know where to start – I have a image select input field on a form thats populated by an jquery ajax autocomplete. What I would like to do is the following:-

If a user wants to choose an alternative image that’s not currently in the dB pop up a modal/lightbox form which contains the upload/editing form.

Once posted I want to pass this data back to the original form field and refresh the data for the autocomplete.

I already have the upload and editing forms working as standalone pages I just want to incorporate the output back into the original form.

  1. Is it possible?
  2. Can anyone suggest modal/lighbox script that can do this?
  • 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-25T02:04:22+00:00Added an answer on May 25, 2026 at 2:04 am

    What data are you trying to retrieve in the parent window? Assuming your using an iframe in your lightbox? If you aren’t then you should just be able to set variables and call functions from your upload script output as if it were the same page.

    If you are…
    I don’t believe there are any lightbox/modal solutions that support this, I normally incorporate a script like below in my upload script so you can monitor the success/failure of the uploaded file and the data.

    (function () {
        parent.myClass.imageLocation = $output_your_image_location here;
        return;
    )();
    

    You can obviously edit this to handle different situations but I always use the parent keyword as I have a similar way of handling uploads in some software I’ve built recently.

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

Sidebar

Related Questions

I have a SQL query that isn't table-specific and I don't know how to
I have very big problem in my SQL query and i don't know how
I'm trying to write a query I don't want to have Cartesian products on.
Have a lot of unnecessary results using contains() method in my query. Don't tell
I'm trying write a query to find records which don't have a matching record
I have a query that is dynamically built after looking up a field list
I have a query that originally looks like this: select c.Id, c.Name, c.CountryCode, c.CustomerNumber,
I have this query in sql server 2000: select pwdencrypt('AAAA') which outputs an encrypted
I have this query in MySQL: SELECT pr.*, pr7.value AS `room_price_high` FROM `jos_hp_properties` pr
I have a query that looks something like this: select xmlelement(rootNode, (case when XH.ID

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.