Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <pre><code>Below is the code which works for me please have a look on this. &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;title&gt;jQuery Dropdown Check List&lt;/title&gt; &lt;link rel="stylesheet" type="text/css" href="ui.dropdownchecklist.css" /&gt; &lt;link rel="stylesheet" type="text/css" href="demo.css" /&gt; &lt;script type="text/javascript" src="jquery.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="ui.core.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="ui.dropdownchecklist.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; $(document).ready(function() { $("#s4").dropdownchecklist({ maxDropHeight: 120 }); }); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;?php echo "&lt;br&gt;"; function submit_button() { ?&gt; &lt;input name="submit" type="submit"&gt; &lt;?php } ?&gt; &lt;?php function multiple_chk($selectedbox) { ?&gt; &lt;select id="selectedbox" name="selectedbox&lt;?php echo $year; ?&gt;"&gt; &lt;?php for($k=1;$k&lt;=3;$k++) {?&gt; &lt;option value="&lt;?php echo '201'.$k; ?&gt; "&gt;&lt;?php echo '201'.$k; ?&gt;&lt;/option&gt; &lt;?php } ?&gt; &lt;/select&gt; &lt;?php } ?&gt; &lt;div id="content"&gt; &lt;p&gt; &lt;select id="s4" name="multiple[]" multiple="multiple" size="4" &gt; &lt;option name="ASSA"&gt;0-1 Hours&lt;/option&gt; &lt;option value="DSSD"&gt;1-2 Hours&lt;/option&gt; &lt;option value="2"&gt;2-3 Hours&lt;/option&gt; &lt;option&gt;3-4 Hours&lt;/option&gt; &lt;option&gt;4-5 Hours&lt;/option&gt; &lt;option&gt;5-6 Hours&lt;/option&gt; &lt;option&gt;6-7 Hours&lt;/option&gt; &lt;option&gt;7-8 Hours&lt;/option&gt; &lt;option&gt;8-9 Hours&lt;/option&gt; &lt;option&gt;9-10 Hours&lt;/option&gt; &lt;option&gt;10-11 Hours&lt;/option&gt; &lt;option&gt;11-12 Hours&lt;/option&gt; &lt;option&gt;12-13 Hours&lt;/option&gt; &lt;option&gt;13-14 Hours&lt;/option&gt; &lt;option&gt;14-15 Hours&lt;/option&gt; &lt;option&gt;15-16 Hours&lt;/option&gt; &lt;option&gt;16-17 Hours&lt;/option&gt; &lt;option&gt;17-18 Hours&lt;/option&gt; &lt;option&gt;18-19 Hours&lt;/option&gt; &lt;option&gt;19-20 Hours&lt;/option&gt; &lt;option&gt;20-21 Hours&lt;/option&gt; &lt;option&gt;21-22 Hours&lt;/option&gt; &lt;option&gt;22-23 Hours&lt;/option&gt; &lt;option&gt;23-24 Hours&lt;/option&gt; &lt;/select&gt; &lt;?php submit_button(); ?&gt;&lt;/form&gt; &lt;/p&gt; &lt;?php echo '&lt;pre&gt;';print_r($_REQUEST);echo '&lt;/pre&gt;'; ?&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload