title: Submiting values
body: <p>I would like to create form with xy results</p>
  
  <p>For example checking 'A' alone may produce result 1, while if both 'A' and 'B' are checked then the answer is result 2. D,E,A may give result 3 while B,E,A give result 2. Hopefully you get the point.</p>
  
  <pre><code>&lt;form action=""&gt;
      &lt;input type="checkbox" name="options" value="A" /&gt;Choice A&lt;br /&gt;
      &lt;input type="checkbox" name="options" value="B" /&gt;Choice B&lt;br /&gt;
      &lt;input type="checkbox" name="options" value="C" /&gt;Choice C&lt;br /&gt;
      &lt;input type="checkbox" name="options" value="D" /&gt;Choice D&lt;br /&gt;
      &lt;input type="checkbox" name="options" value="E" /&gt;Choice E&lt;br /&gt;   
      &lt;br /&gt;
      &lt;input type="submit" value="answer"&gt;
  </code></pre>
  
  <p></p>
  
  <p>and the jquery would be something along these lines</p>
  
  <pre><code>$(':checkbox').click(function () {
  var value = $(this).val();
  
  if ($(this).val(["A","B","C"]).is(':checked'))
      $('.result1').show(value);
  else
      $('.result1').hide(value);
  
  if ($(this).val(["A","D","E"]).is(':checked'))
      $('.result2').show(value);
  else
      $('.result2').hide(value);
  </code></pre>
  
  <p>This don't work so if you could help me it would be great! </p>