title: get Values from form elements in JQUERY?
body: <p>My form.html</p>
  
  <pre><code>&lt;form id="search-form" method="post" action="." name="f"&gt;
  &lt;p&gt;&lt;label for="id_customer_type"&gt;Customer type&lt;/label&gt; &lt;select name="customer_type" id="id_customer_type"&gt;
  &lt;option value=""&gt;All&lt;/option&gt;
  &lt;option value="TDO" selected="selected"&gt;TDO&lt;/option&gt;
  &lt;/select&gt;&lt;/p&gt;
  &lt;p&gt;&lt;label for="id_tag"&gt;Tag&lt;/label&gt; &lt;/p&gt;&lt;dl&gt;
  &lt;dt&gt;&lt;strong&gt;School&lt;/strong&gt;&lt;/dt&gt;
  &lt;dd&gt;&lt;label for="id_tag_1"&gt;&lt;input checked="checked" name="tag" value="2" id="id_tag_1" type="checkbox"&gt; Private&lt;/label&gt;&lt;/dd&gt;
  
  &lt;dd&gt;&lt;label for="id_tag_2"&gt;&lt;input checked="checked" name="tag" value="3" id="id_tag_2" type="checkbox"&gt; Public&lt;/label&gt;&lt;/dd&gt;
  &lt;/dl&gt; 
  &lt;input id="filter" value="Filter" type="submit"&gt; 
  &lt;/form&gt;
  </code></pre>
  
  <p>My script.js</p>
  
  <pre><code> $(document).ready(function(){
         // Third way == UPDATE jQuery 1.3
         $("input[type='checkbox']:checked").each(function(){
              // your code
              checkboxs_ischecked = $("input[type='checkbox']").val();
          });
  
          $("#filter").click(function() {
              customet_type = $('#id_customer_type :selected').text();
              checkbox_ischecked = ????? //How Can I get the checkboxs value that is checked?
              document.f.action = "/customer/show/?customer_type="+customet_type+"&amp;
  
      tag="+checkboxs_ischecked; // in my case something like this :checkbox_ischecked = Private_Public if I have checked Private and Public
                   ;
                  return true; 
              });
  
          });
  </code></pre>
  
  <p>Thanks ! :)</p>