There are many pictures, any picture has alt = '12 'numbers different. How to make this alt parameter copied to input hidden value . Which way to dig?

    1 answer 1

     var alt = $(".image").attr('alt'); $("input[type='hidden']").val(alt); 
    • I put it on the click when I click on the image, but there is something ... - zaqzaq
    • @ big-vl, let's get the full code, how do I know what is your structure. You asked where to dig so I showed - mountpoint