javascript - OWL Carousel afterMove get img alt -


How can I display image alt (in the div) alt alt after every move? I try this, but it is not working (I always get alt first)

   
image 1

Thank you for your help ...

Try this:

 . Later: function (amm) {var current = this.currentItem; Var alt = elem.find ("Item"). Eq (current) .find ("img"). Et '(' alt '); Console.log ('Imagem is current' alt); }    

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -