- Posts: 64
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type="text/javascript" charset="utf-8"> $(document).ready(function(){ // Retrieve the random number var randNumber = '{INSERTANS:SSSSSXGGXQQ}'; // Load the images $('#pic').html('<img src="pic1.jpg"><img src="pic2.jpg"><img src="pic3.jpg"><img src="pic4.jpg">'); //Remove the previously shown image $('#pic img[src="pic'+randNumber+'"]').remove(); }); </script>