').attr('type', 'hidden').attr('name', 'asimov').attr('id', 'asimov')); } else { v = Math.floor(Math.random() * (1000 + 1)) + 9000; $('#asimov').val(v); } }); $('img.pozaprodus').each(function(index, element){ $(this).attr("src", $(this).data("sursalazy")); });});