jQuery methods not working inside Owl Carousel
I have an owl carousel with various boxes rotating.
When I click on a button within the box, I want to toggle a class to a div within the same box.
It works fine when until i wrap it in an owl carousel and initialise it. After that the toggleClass method (and any other method seemingly) seems to stop working.
$(document).ready(function() {
$('.view-offer').click(function() {
var linkID = $(this).data('id')
var el = '#box-' + linkID
$(el).toggleClass('test');
console.log(el);
});
$(".offers-slider").owlCarousel({
nav: false,
autoPlay: false,
navText: [
"<i class='fa fa-angle-left'></i>",
"<i class='fa fa-angle-right'></i>"
],
loop: true,
dots: false,
items: 3
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" rel="stylesheet" />
<div class="owl-carousel owl-theme offers-slider">
<div class="item">
<a href="#!" class="view-offer" data-id="1">View</a>
<div id="box-1">
Box 1
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="2">View</a>
<div id="box-2">
Box 2
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="3">View</a>
<div id="box-3">
Box 3
</div>
</div>
</div>
linkID will log to the console fine but the class will not add to element. There are no errors at all.
jquery html owl-carousel
add a comment |
I have an owl carousel with various boxes rotating.
When I click on a button within the box, I want to toggle a class to a div within the same box.
It works fine when until i wrap it in an owl carousel and initialise it. After that the toggleClass method (and any other method seemingly) seems to stop working.
$(document).ready(function() {
$('.view-offer').click(function() {
var linkID = $(this).data('id')
var el = '#box-' + linkID
$(el).toggleClass('test');
console.log(el);
});
$(".offers-slider").owlCarousel({
nav: false,
autoPlay: false,
navText: [
"<i class='fa fa-angle-left'></i>",
"<i class='fa fa-angle-right'></i>"
],
loop: true,
dots: false,
items: 3
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" rel="stylesheet" />
<div class="owl-carousel owl-theme offers-slider">
<div class="item">
<a href="#!" class="view-offer" data-id="1">View</a>
<div id="box-1">
Box 1
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="2">View</a>
<div id="box-2">
Box 2
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="3">View</a>
<div id="box-3">
Box 3
</div>
</div>
</div>
linkID will log to the console fine but the class will not add to element. There are no errors at all.
jquery html owl-carousel
add a comment |
I have an owl carousel with various boxes rotating.
When I click on a button within the box, I want to toggle a class to a div within the same box.
It works fine when until i wrap it in an owl carousel and initialise it. After that the toggleClass method (and any other method seemingly) seems to stop working.
$(document).ready(function() {
$('.view-offer').click(function() {
var linkID = $(this).data('id')
var el = '#box-' + linkID
$(el).toggleClass('test');
console.log(el);
});
$(".offers-slider").owlCarousel({
nav: false,
autoPlay: false,
navText: [
"<i class='fa fa-angle-left'></i>",
"<i class='fa fa-angle-right'></i>"
],
loop: true,
dots: false,
items: 3
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" rel="stylesheet" />
<div class="owl-carousel owl-theme offers-slider">
<div class="item">
<a href="#!" class="view-offer" data-id="1">View</a>
<div id="box-1">
Box 1
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="2">View</a>
<div id="box-2">
Box 2
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="3">View</a>
<div id="box-3">
Box 3
</div>
</div>
</div>
linkID will log to the console fine but the class will not add to element. There are no errors at all.
jquery html owl-carousel
I have an owl carousel with various boxes rotating.
When I click on a button within the box, I want to toggle a class to a div within the same box.
It works fine when until i wrap it in an owl carousel and initialise it. After that the toggleClass method (and any other method seemingly) seems to stop working.
$(document).ready(function() {
$('.view-offer').click(function() {
var linkID = $(this).data('id')
var el = '#box-' + linkID
$(el).toggleClass('test');
console.log(el);
});
$(".offers-slider").owlCarousel({
nav: false,
autoPlay: false,
navText: [
"<i class='fa fa-angle-left'></i>",
"<i class='fa fa-angle-right'></i>"
],
loop: true,
dots: false,
items: 3
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" rel="stylesheet" />
<div class="owl-carousel owl-theme offers-slider">
<div class="item">
<a href="#!" class="view-offer" data-id="1">View</a>
<div id="box-1">
Box 1
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="2">View</a>
<div id="box-2">
Box 2
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="3">View</a>
<div id="box-3">
Box 3
</div>
</div>
</div>
linkID will log to the console fine but the class will not add to element. There are no errors at all.
$(document).ready(function() {
$('.view-offer').click(function() {
var linkID = $(this).data('id')
var el = '#box-' + linkID
$(el).toggleClass('test');
console.log(el);
});
$(".offers-slider").owlCarousel({
nav: false,
autoPlay: false,
navText: [
"<i class='fa fa-angle-left'></i>",
"<i class='fa fa-angle-right'></i>"
],
loop: true,
dots: false,
items: 3
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" rel="stylesheet" />
<div class="owl-carousel owl-theme offers-slider">
<div class="item">
<a href="#!" class="view-offer" data-id="1">View</a>
<div id="box-1">
Box 1
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="2">View</a>
<div id="box-2">
Box 2
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="3">View</a>
<div id="box-3">
Box 3
</div>
</div>
</div>
$(document).ready(function() {
$('.view-offer').click(function() {
var linkID = $(this).data('id')
var el = '#box-' + linkID
$(el).toggleClass('test');
console.log(el);
});
$(".offers-slider").owlCarousel({
nav: false,
autoPlay: false,
navText: [
"<i class='fa fa-angle-left'></i>",
"<i class='fa fa-angle-right'></i>"
],
loop: true,
dots: false,
items: 3
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" rel="stylesheet" />
<div class="owl-carousel owl-theme offers-slider">
<div class="item">
<a href="#!" class="view-offer" data-id="1">View</a>
<div id="box-1">
Box 1
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="2">View</a>
<div id="box-2">
Box 2
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="3">View</a>
<div id="box-3">
Box 3
</div>
</div>
</div>
jquery html owl-carousel
jquery html owl-carousel
edited Nov 26 '18 at 9:41
Richard Parnaby-King
9,871857111
9,871857111
asked Nov 26 '18 at 9:20
cnrhgncnrhgn
520315
520315
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Every element in the Carousel has the same list of the box that means if you have tree boxes each item in the Carousel while containing #box-1
and #box-2
and #box-3
. So you need to get the closest box to your link:
$(document).ready(function() {
$('.view-offer').click(function() {
var linkID = $(this).data('id')
var el = '#box-' + linkID
$(this).siblings(el).toggleClass('test');
console.log(el);
});
$(".offers-slider").owlCarousel({
nav: false,
autoPlay: false,
navText: [
"<i class='fa fa-angle-left'></i>",
"<i class='fa fa-angle-right'></i>"
],
loop: true,
dots: false,
items: 3
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" rel="stylesheet" />
<div class="owl-carousel owl-theme offers-slider">
<div class="item">
<a href="#!" class="view-offer" data-id="1">View</a>
<div id="box-1">
Box 1
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="2">View</a>
<div id="box-2">
Box 2
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="3">View</a>
<div id="box-3">
Box 3
</div>
</div>
</div>
1
their is three div with the same id "#box-1" in the DOM
– Mustapha Larhrouch
Nov 26 '18 at 9:43
1
You're right, so the html is invalid and @cnrhgn should not use duplicate id
– Mohammad
Nov 26 '18 at 9:50
I didn't use the same ID for any element. Owl Carousel duplicates the slides upon initialisation. But this solved the problem. Thanks
– cnrhgn
Nov 26 '18 at 10:00
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53477961%2fjquery-methods-not-working-inside-owl-carousel%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Every element in the Carousel has the same list of the box that means if you have tree boxes each item in the Carousel while containing #box-1
and #box-2
and #box-3
. So you need to get the closest box to your link:
$(document).ready(function() {
$('.view-offer').click(function() {
var linkID = $(this).data('id')
var el = '#box-' + linkID
$(this).siblings(el).toggleClass('test');
console.log(el);
});
$(".offers-slider").owlCarousel({
nav: false,
autoPlay: false,
navText: [
"<i class='fa fa-angle-left'></i>",
"<i class='fa fa-angle-right'></i>"
],
loop: true,
dots: false,
items: 3
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" rel="stylesheet" />
<div class="owl-carousel owl-theme offers-slider">
<div class="item">
<a href="#!" class="view-offer" data-id="1">View</a>
<div id="box-1">
Box 1
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="2">View</a>
<div id="box-2">
Box 2
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="3">View</a>
<div id="box-3">
Box 3
</div>
</div>
</div>
1
their is three div with the same id "#box-1" in the DOM
– Mustapha Larhrouch
Nov 26 '18 at 9:43
1
You're right, so the html is invalid and @cnrhgn should not use duplicate id
– Mohammad
Nov 26 '18 at 9:50
I didn't use the same ID for any element. Owl Carousel duplicates the slides upon initialisation. But this solved the problem. Thanks
– cnrhgn
Nov 26 '18 at 10:00
add a comment |
Every element in the Carousel has the same list of the box that means if you have tree boxes each item in the Carousel while containing #box-1
and #box-2
and #box-3
. So you need to get the closest box to your link:
$(document).ready(function() {
$('.view-offer').click(function() {
var linkID = $(this).data('id')
var el = '#box-' + linkID
$(this).siblings(el).toggleClass('test');
console.log(el);
});
$(".offers-slider").owlCarousel({
nav: false,
autoPlay: false,
navText: [
"<i class='fa fa-angle-left'></i>",
"<i class='fa fa-angle-right'></i>"
],
loop: true,
dots: false,
items: 3
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" rel="stylesheet" />
<div class="owl-carousel owl-theme offers-slider">
<div class="item">
<a href="#!" class="view-offer" data-id="1">View</a>
<div id="box-1">
Box 1
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="2">View</a>
<div id="box-2">
Box 2
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="3">View</a>
<div id="box-3">
Box 3
</div>
</div>
</div>
1
their is three div with the same id "#box-1" in the DOM
– Mustapha Larhrouch
Nov 26 '18 at 9:43
1
You're right, so the html is invalid and @cnrhgn should not use duplicate id
– Mohammad
Nov 26 '18 at 9:50
I didn't use the same ID for any element. Owl Carousel duplicates the slides upon initialisation. But this solved the problem. Thanks
– cnrhgn
Nov 26 '18 at 10:00
add a comment |
Every element in the Carousel has the same list of the box that means if you have tree boxes each item in the Carousel while containing #box-1
and #box-2
and #box-3
. So you need to get the closest box to your link:
$(document).ready(function() {
$('.view-offer').click(function() {
var linkID = $(this).data('id')
var el = '#box-' + linkID
$(this).siblings(el).toggleClass('test');
console.log(el);
});
$(".offers-slider").owlCarousel({
nav: false,
autoPlay: false,
navText: [
"<i class='fa fa-angle-left'></i>",
"<i class='fa fa-angle-right'></i>"
],
loop: true,
dots: false,
items: 3
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" rel="stylesheet" />
<div class="owl-carousel owl-theme offers-slider">
<div class="item">
<a href="#!" class="view-offer" data-id="1">View</a>
<div id="box-1">
Box 1
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="2">View</a>
<div id="box-2">
Box 2
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="3">View</a>
<div id="box-3">
Box 3
</div>
</div>
</div>
Every element in the Carousel has the same list of the box that means if you have tree boxes each item in the Carousel while containing #box-1
and #box-2
and #box-3
. So you need to get the closest box to your link:
$(document).ready(function() {
$('.view-offer').click(function() {
var linkID = $(this).data('id')
var el = '#box-' + linkID
$(this).siblings(el).toggleClass('test');
console.log(el);
});
$(".offers-slider").owlCarousel({
nav: false,
autoPlay: false,
navText: [
"<i class='fa fa-angle-left'></i>",
"<i class='fa fa-angle-right'></i>"
],
loop: true,
dots: false,
items: 3
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" rel="stylesheet" />
<div class="owl-carousel owl-theme offers-slider">
<div class="item">
<a href="#!" class="view-offer" data-id="1">View</a>
<div id="box-1">
Box 1
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="2">View</a>
<div id="box-2">
Box 2
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="3">View</a>
<div id="box-3">
Box 3
</div>
</div>
</div>
$(document).ready(function() {
$('.view-offer').click(function() {
var linkID = $(this).data('id')
var el = '#box-' + linkID
$(this).siblings(el).toggleClass('test');
console.log(el);
});
$(".offers-slider").owlCarousel({
nav: false,
autoPlay: false,
navText: [
"<i class='fa fa-angle-left'></i>",
"<i class='fa fa-angle-right'></i>"
],
loop: true,
dots: false,
items: 3
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" rel="stylesheet" />
<div class="owl-carousel owl-theme offers-slider">
<div class="item">
<a href="#!" class="view-offer" data-id="1">View</a>
<div id="box-1">
Box 1
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="2">View</a>
<div id="box-2">
Box 2
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="3">View</a>
<div id="box-3">
Box 3
</div>
</div>
</div>
$(document).ready(function() {
$('.view-offer').click(function() {
var linkID = $(this).data('id')
var el = '#box-' + linkID
$(this).siblings(el).toggleClass('test');
console.log(el);
});
$(".offers-slider").owlCarousel({
nav: false,
autoPlay: false,
navText: [
"<i class='fa fa-angle-left'></i>",
"<i class='fa fa-angle-right'></i>"
],
loop: true,
dots: false,
items: 3
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" rel="stylesheet" />
<div class="owl-carousel owl-theme offers-slider">
<div class="item">
<a href="#!" class="view-offer" data-id="1">View</a>
<div id="box-1">
Box 1
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="2">View</a>
<div id="box-2">
Box 2
</div>
</div>
<div class="item">
<a href="#!" class="view-offer" data-id="3">View</a>
<div id="box-3">
Box 3
</div>
</div>
</div>
edited Nov 26 '18 at 9:44
Richard Parnaby-King
9,871857111
9,871857111
answered Nov 26 '18 at 9:37
Mustapha LarhrouchMustapha Larhrouch
2,7142723
2,7142723
1
their is three div with the same id "#box-1" in the DOM
– Mustapha Larhrouch
Nov 26 '18 at 9:43
1
You're right, so the html is invalid and @cnrhgn should not use duplicate id
– Mohammad
Nov 26 '18 at 9:50
I didn't use the same ID for any element. Owl Carousel duplicates the slides upon initialisation. But this solved the problem. Thanks
– cnrhgn
Nov 26 '18 at 10:00
add a comment |
1
their is three div with the same id "#box-1" in the DOM
– Mustapha Larhrouch
Nov 26 '18 at 9:43
1
You're right, so the html is invalid and @cnrhgn should not use duplicate id
– Mohammad
Nov 26 '18 at 9:50
I didn't use the same ID for any element. Owl Carousel duplicates the slides upon initialisation. But this solved the problem. Thanks
– cnrhgn
Nov 26 '18 at 10:00
1
1
their is three div with the same id "#box-1" in the DOM
– Mustapha Larhrouch
Nov 26 '18 at 9:43
their is three div with the same id "#box-1" in the DOM
– Mustapha Larhrouch
Nov 26 '18 at 9:43
1
1
You're right, so the html is invalid and @cnrhgn should not use duplicate id
– Mohammad
Nov 26 '18 at 9:50
You're right, so the html is invalid and @cnrhgn should not use duplicate id
– Mohammad
Nov 26 '18 at 9:50
I didn't use the same ID for any element. Owl Carousel duplicates the slides upon initialisation. But this solved the problem. Thanks
– cnrhgn
Nov 26 '18 at 10:00
I didn't use the same ID for any element. Owl Carousel duplicates the slides upon initialisation. But this solved the problem. Thanks
– cnrhgn
Nov 26 '18 at 10:00
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53477961%2fjquery-methods-not-working-inside-owl-carousel%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown