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

  • SEARCH
  • Home
  • 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 8431857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:58:10+00:00 2026-06-10T05:58:10+00:00

I am using Highslide and it is working well, except when I try to

  • 0

I am using Highslide and it is working well, except when I try to reopen a highslide popup with new content. I actually don’t need it to reopen, but since its the same contentId, it does. The content is not being updated though. Here is the code:

function doSomething() {
  //Changes to fileExistList (removed for simplicity)
  var newHTML = $('fileExistList').clone(true); //Cloning div as Highslide removes it
  $(newHTML).id = 'fileExistList2'; //Change cloned divs id
  $('fileExistList').insert({ //add cloned div to page
    before: newHTML 
  });
  hs.htmlExpand(null, { contentId: 'fileExistList2', align:'center' });
}

The first time it is called, it displays correctly, but all the times after that until refresh displays the initial popup content and not the updated content. I am using iframes for the Highslide popups.

Anyone have any ideas how to modify this to open with the updated content?

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-06-10T05:58:12+00:00Added an answer on June 10, 2026 at 5:58 am

    Highslide has a few configuration options and one is preserveContent, which you need set to false for HTML content. This wasn’t the only thing that I had to do to make it work. I had to check the hs.clones object and remove the id of the HTML content I was copying. This forces highslide to get the updated id content.

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

Sidebar

Related Questions

Iam using highslide js for my image blow up section and its working fine.
So I'm working on a pie chart using HighSlide and ColdFusion. To make this
Using the navigator.geolocation object in JavaScript. Trying to establish accurate ranges, but wondering exactly
using a binary search tree I need to add to a vector all int
Using WebViewBrush I can render web page content (it's screen shot) to e.g. Rectangle
Using Xcode4.2.1, with a basic PhoneGap template based app. (I say template, but I
Using gcc and ld on x86_64 linux I need to link against a newer
using Silverlight I am having trouble with the following code: CultureInfo culture = new
Using javascript/jQuery: I have an array with images and I need to display them
Using Rails 3, but I guess doesn't matter. I put this in the template

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.