Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
24557 govind 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
							#foreach($fofoId in $fofoRetailers.keySet())
22
							#if($addedfofoIds.contains($fofoId))
23
		             		<option value="$fofoId" selected>$fofoRetailers.get($fofoId).getBusinessName()</option>
24
		             		#else
25
		             		<option value="$fofoId">$fofoRetailers.get($fofoId).getBusinessName()</option>
26
		             		#end
27
		             		#end
28
		             	</select>