- Posts: 121
- Thank you received: 9
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type='text/javascript'> $(document).ready(function() { var randNum = Math.floor((Math.random() * 2)+1); if (randNum == 2) { var place_before="javatbd{SGQ}"+6; for (var i=5; i>0; i--) { var move_element="javatbd{SGQ}"+i; $("#"+move_element).insertBefore("#"+place_before); } } }); </script>