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

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -