Skip to content
Advertisement

Fixing greyed-out .owl-carousel div

I’m making a call to get a page (getresult.php) through AJAX.

The ID div in my index:

JavaScript

My footer:

JavaScript

The script for calling getresult in the footer:

JavaScript

Now this is my page getresult:

JavaScript

My problem is the carousel class doesn’t work. When I remove the class owl-carousel, I can see the pic. I have the CSS and the JS owl-carousel in my index.php. When I see the HTML in Firebug, I see the line <div class="owl-carousel" data-plugin-options='{"items":1}'> greyed out.

Advertisement

Answer

Finaly i found it.

I forget to put this in my getresult.php

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement