Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript change html contents via javascript Re: change html contents via javascript

#92449
Mottie
Member

Hi saberExcalibur7!

You’ll need to share a bit more information before we can help you. How are you planning on getting the new information? I’m guessing that when an item is clicked inside of the “.overview” window that you want the information inside of “#content” to update with the new item. And this new information is obtained via ajax?

Basically, once you get the new information, you can just target the “#content” div, as mik3ca shared, and replace everything inside of it. But you’ll also need to re-initialize the jqzoom plugin for the new image.