title: If a Select All option is Checked then display a div using bootstrap multiselect
body: <p>After Selecting "Select All" option in the drop down list,I'll click on a generate graph button.Then I want to display a chart containing of all options in the drop down list in a particular div using  bootstrap multi-select.     </p>
  
  <p>My code:</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
    &lt;title&gt;jQuery Multi Select Dropdown with Checkboxes&lt;/title&gt;
    &lt;link rel="stylesheet" href="css/bootstrap-3.1.1.min.css" type="text/css" /&gt;
    &lt;link rel="stylesheet" href="css/bootstrap-multiselect.css" type="text/css" /&gt;
    &lt;script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="js/bootstrap-2.3.2.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="js/bootstrap-multiselect.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div id="PiDiv"&gt;&lt;/div&gt;
  &lt;div id="AllDiv"&gt;&lt;/div&gt;
  &lt;form id="form1"&gt;
    &lt;div style="padding:20px"&gt;
      &lt;label&gt;Select Country&lt;/label&gt;
      &lt;select id="selectId" multiple="multiple"&gt;
        &lt;option value="India"&gt;India&lt;/option&gt;
        &lt;option value="Japan"&gt;Japan&lt;/option&gt;
        &lt;option value="Germany"&gt;Germany&lt;/option&gt;
        &lt;option value="Nepal"&gt;Nepal&lt;/option&gt;
        &lt;option value="Iraq"&gt;Iraq&lt;/option&gt;
        &lt;option value="China"&gt;China&lt;/option&gt;
      &lt;/select&gt;&lt;br /&gt;&lt;br /&gt;
      &lt;input type="button" id="btnget" value="Get Selected Values" /&gt;
      &lt;script type="text/javascript"&gt;
        $(function() {
          $('#selectId').multiselect({
            includeSelectAllOption: true
          });
          $('#btnget').click(function() {
            alert($('#selectId').val());
            if($('#selectId').val() == "India"){
              $("#PiDiv").load("/home/divya/html_docs/pi.html");
            }
          })
        });
      &lt;/script&gt;
    &lt;/div&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I'm able to select one option and display its corresponding chart.But for select all option,I'm not getting how to display a div after clicking on a generate graph button.Can anyone please suggest me on this issue ... </p>