Button link to random div
<p>I am creating a photography course app in dreamweaver, and want users to be able to tap a button to randomly give them an assignment out of the numerous ones in the app.</p>

<p>All the various assignments are in separate div's, with separate div id's.
I've tried various javascript random link generators, but they don't link to the div ids...they are looking for the whole link (www.noelchenier.ca/#self) instead of the div ID's (#self).</p>

<p>Is there any way to do this?</p>

<p>This seems to be what this guy was asking too, but there is no explaination on where to use it?
<a href="http://stackoverflow.com/questions/5289615/how-to-jump-to-an-anchor-div-per-random-button-jquery-mobile">How to jump to an anchor / div per random button (jQuery mobile)?</a></p>

<p>Thanks for any possible help
Noel Chenier</p>
