 <p>What you need to do is:</p> <ol> <li><p>Wrap all your answer labels in a <code>div</code> element, something like <code>&lt;div id="answers"&gt;&lt;/div&gt;</code></p></li> <li><p>Dispose of a <code>&lt;br /&gt;</code> elements between labels, instead specifying a style <code>label {display: block;}</code>;</p></li> <li><p>Apply following Javascript code </p></li> </ol> <p>(with jQuery):</p> <pre><code>jQuery(function($){ var answers = $("#answers"); answers.html( answers.find("label").sort(function(){ return Math.round(Math.random())-0.5; }) ); }); </code></pre> <p>And you're good to go.</p> <p>Here's <a href="http://jsfiddle.net/r8Df6/" rel="nofollow">JSFiddle</a></p>