title: MultiSelect Dropdwon list value Move To Text Box
body: <p>I am using this javascript code for copying a field value to another field. When we just like use check box in dropdown, we have to click a check box then value copy into a text-box.</p>
  
  <p>But it selects only single not multiple value in text box...</p>
  
  <pre><code>&lt;script&gt;
      $(document).ready(function() {
          $("#dropdown").on('change',function(){
              var dropdownVal=this.value;
  
              $("#textbox").val(dropdownVal); 
          });
      });
  &lt;/script&gt;
  
  &lt;form&gt;
      &lt;p&gt;
          &lt;select multiple="multiple" name="dropdown"  id="dropdown" style="width:370px"&gt;
              &lt;option value="red"&gt;Red&lt;/option&gt;
              &lt;option value="green"&gt;Green&lt;/option&gt;
              &lt;option value="blue"&gt;Blue&lt;/option&gt;
              &lt;option value="orange"&gt;Orange&lt;/option&gt;
          &lt;/select&gt;
      &lt;/p&gt;
  
      &lt;input type="text" class="normal" id="textbox" name="textbox"  style="width:450px;"&gt;&lt;/td&gt;
  &lt;/form&gt;
  
  &lt;script type="text/javascript"&gt;
      $("select").multiselect().multiselectfilter();
  &lt;/script&gt;
  </code></pre>
  
  <p>I am using multiple select drop-down list with check-box.</p>