title: jQuery Chosen: how to limit the number of selected values and provide an error message
body: <p>I'm in the process of using jQuery Chosen for 2 <code>&lt;select&gt;</code> elements. Each element contains the same values and I'm using loops to put selected values in an array and disable every value which has already been put in that array and is not the selected option. In other words: I always disable the doppleganger. </p>
  
  <p>I'm trying to limit the number of selected value with the last loop, by using a data-attribute "maxpersons" and compare it with the number of selected values.</p>
  
  <p><strong>Unfortunately</strong>, this only works when options have <strong>not been pre-selected</strong>. If they are, someone can still select one more value. Which shouldn't be allowed.</p>
  
  <p><strong>Also</strong>, I'd love to put a <code>&lt;p&gt;</code> tag next to the <code>&lt;select&gt;</code> element when the maximum has been reached and remove it automatically when the maximum has not been reached yet.</p>
  
  <p>Any help would be hugely appreciated! This is the JS Fiddle: <a href="http://jsfiddle.net/dq97z/28/" rel="nofollow">http://jsfiddle.net/dq97z/28/</a></p>