Is there a way to get indexOf on this array?
var myArray = new Array(
{title: "Test1", id: "Header1", html: "Header1", style: "background-color: red; color: white;"});
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is what I did to make it work — but it’s not pretty:
This was all just to make my Sencha carousel look right when clicking buttons, but now I realize that if someone slides it manually that it wont set the currentCarouselIndex… bleh, this is a lot of work just to make it look a little better.