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# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

sql - PostgreSQL automatically update row at specific date -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -