title: How to disable a dropdown menu after a button click in jQuery
body: <p>I have a dropdown menu containing currency values, and a new page loads with the selected currency as a value in the URL. The code for that is as follows:</p>
  
  <pre><code>&lt;div id="procurselect"&gt;
      &lt;a href="javascript:void(0)" id="chosedCur"&gt;&lt;?php echo $curr ; ?&gt;&lt;/a&gt;
      &lt;ul style="display: none;"&gt;
          &lt;li&gt;&lt;a rel="nofollow" title="Euro" onclick="set_currency('http://www.example.com/product.php?pid=&lt;?php echo " $pid " ;?&gt;&amp;cur=EUR');" href="javascript:void(0)" target="_top" rel=nofollow&gt;EUR&lt;/a&gt;
          &lt;/li&gt;
          &lt;li&gt;&lt;a rel="nofollow" title="Pound Sterling" onclick="set_currency('http://www.example.com/product.php?pid=&lt;?php echo " $pid " ;?&gt;&amp;cur=GBP');" href="javascript:void(0)" target="_top" rel=nofollow&gt;GBP&lt;/a&gt;
          &lt;/li&gt;
          &lt;li&gt;&lt;a rel="nofollow" title="Canadian Dollar" onclick="set_currency('http:/www.example.com/product.php?pid=&lt;?php echo " $pid " ;?&gt;&amp;cur=CAD');" href="javascript:void(0)" target="_top" rel=nofollow&gt;CAD&lt;/a&gt;
          &lt;/li&gt;
          &lt;li&gt;&lt;a rel="nofollow" title="Australian Dollar" onclick="set_currency('http://www.example.com/product.php?pid=&lt;?php echo " $pid " ;?&gt;&amp;cur=AUD');" href="javascript:void(0)" target="_top" rel=nofollow&gt;AUD&lt;/a&gt;
          &lt;/li&gt;
          ........(cont....)
      &lt;/ul&gt;
  &lt;/div&gt;
  &lt;script&gt;
      imitSelect.show({
          Target: $('#procurselect'),
          Width: 30
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>I have another add product button on my page using <code>simplecart.js</code>.
  The button code is as follows:</p>
  
  <pre><code>&lt;a class="item_add" href="javascript:;"&gt;
      &lt;img src="images/addtocart.png" alt="Add to Cart" width="197" height="58" /&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>I want the above currency dropdown to be disabled once a user clicks on the addcart button so that he cannot change the currency again from the dropdown. </p>
  
  <p>I am using jQuery.<br>
  How is this possible in jQuery?  </p>
  
  <p><strong>Update:</strong></p>
  
  <p>I need the <strong>disabled option to persist on all pages</strong>....</p>
  
  <p>Thanks in advance.</p>