Subversion Repositories SmartDukaan

Rev

Rev 25570 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
25570 tejbeer 1
<script type="text/javascript">
2
 
3
	$(document).ready(function() {
4
        $('#partner').multiselect({
5
        		includeSelectAllOption: true,
6
        		multiple:true,
7
        		maxHeight: 200,
8
        		buttonWidth: '180px',
9
        		numberDisplayed: 1,
10
	        	nonSelectedText: 'Partners',
11
	        	nSelectedText: ' - Partners Selected',
12
	        	allSelectedText: 'All Partners Selected',
13
	        	enableFiltering: true,
14
	        	enableCaseInsensitiveFiltering : true
15
        });
16
    });
17
 
18
 
19
</script>
20
  <select class="form-control input-sm" id = "partner" name="partner" placeholder="Type" multiple="multiple">
21
							<option value="0">All Partners</option>
22
							#foreach($fofoId in $fofoRetailers.keySet())
32803 shampa 23
							<option value="$fofoId">$fofoRetailers.get($fofoId).getBusinessName() ($fofoRetailers.get($fofoId).getAddress().getCity()-$fofoRetailers.get($fofoId).getCode())</option>
25570 tejbeer 24
		             		#end
32803 shampa 25
   </select>
26