Is it possible by knowing the child's data-id to do a find().index() on the parent? my code is as such:
<div class="owl-wrapper" style="width: 38640px; left: 0px; display: block;">
<div class="owl-item" style="width: 280px;">
<div class="itemchild" data-remid="67">
</div>
</div>
<div class="owl-item" style="width: 280px;">
<div class="itemchild" data-remid="135">
</div>
</div>
<div class="owl-item" style="width: 280px;">
<div class="itemchild" data-remid="136">
</div>
</div>
</div>
i want to get the index of the itemchild element, that contains a chile with a specific data-remid
something like: .find("[data-remid='" + ID + "'"]).parent().index();
I'm having a bit a trouble on how to update the minutes in a post for my website. So say I have this: <small>posted <span class="updateMinutes">20 minutes </span> ago</small> ...
I'm having a bit a trouble on how to update the minutes in a post for my website. So say I have this: <small>posted <span class="updateMinutes">20 minutes </span> ago</small> ...
I have created a Background Job in Parse Cloud Code that sends out email notifications based on a date in one of my Parse classes. Here is the idea: Query the class that contains the date. Iterate ...
I have created a Background Job in Parse Cloud Code that sends out email notifications based on a date in one of my Parse classes. Here is the idea: Query the class that contains the date. Iterate ...
I am using a jQuery plugin which converts a normal select dropdown into a fancy multi select dropdown. Here's the plugin url: http://wenzhixin.net.cn/p/multiple-select/ Now, the problem which i am ...
I am using a jQuery plugin which converts a normal select dropdown into a fancy multi select dropdown. Here's the plugin url: http://wenzhixin.net.cn/p/multiple-select/ Now, the problem which i am ...
I've been playing around with HTML5 and Javascript a lot lately and have been really impressed with the functionality of LocalStorage as well as SessionStorage. It got me to thinking - with the advent ...
I've been playing around with HTML5 and Javascript a lot lately and have been really impressed with the functionality of LocalStorage as well as SessionStorage. It got me to thinking - with the advent ...