Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

JS code reinitialization

More
12 years 7 months ago #18784 by RogerRU
Hi
On main page of my site i have container with Slideshow CK
<div id="foo">
... (SlideshowCK code)
</div>
in the same container I try to load search results via ajax

var savedContent = $("#foo").html(); // save Slideshow CK code
// ... insert search results via aja

$("#foo").html(savedContent) // after clear search results, restore Slideshow CK code

After this JS of Slideshow CK stop working.

Q: How i can reinitialize JS of Slideshow CK?

Thx!

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #18785 by ced1870
Replied by ced1870 on topic JS code reinitialization
Hi
why not create a DIV inside "foo" to load your results, instead of deleting the slideshow ?
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.197 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1030 guests and 3 members online