var rand = 3; // somehow get the random number from server via ajax
$('img').attr('src', 'empty');
$('img').eq(rand).attr('src', 'full');
solved How i can change images after click on button and php script ended? [closed]
var rand = 3; // somehow get the random number from server via ajax
$('img').attr('src', 'empty');
$('img').eq(rand).attr('src', 'full');
solved How i can change images after click on button and php script ended? [closed]