How to see if a user has clicked on two elements?
<p>I am working on a selection menu. I want the user to be able to select two different options and have something displayed depending on what they have selected. Right now, I am just using images to represent the selections. I am wondering if there is a way to see if a user has selected/clicked two of the images consecutively. After the user has clicked two pictures, I want them to be redirected to another page and have something displayed.</p>

<pre><code>/*clicked on certain two images*/(function(){
    document.location.href="#page";
    $('option').css('display', 'inline');
});
</code></pre>
