Tak o dla hubercika
Guest 1,051 1st Jun, 2022
$(document).ready(function(){
$("#next").click(function(){
let indeks = $("#obraz").attr("alt");
if(indeks == 4)
indeks = 1;
else
indeks++;
$("#obraz").attr("src", "zdjecia/kot"+ indeks + ".jpg");
$("#obraz").attr("alt", indeks);
});
});
To share this paste please copy this url and send to your friends
RAW Paste Data