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

c# - Roxy file manager in MVC doesn't accept session path -

php - proc_open Too many open files in long running Symfony Console app -

c# - Show a huge number of data in DevExpress GridView -