Custom Dropdown filter is jquery plugin that allows you to add a filterable dropdown within your html.
html
<div id="form1" class="ctrl-container"></div>javascript
$("#form1").CustomDrop({
ctrlList: [{ value: 1, text: "Minor" },
{ value: 2, text: "Moderate" },
{ value: 3, text: "High" },
{ value: 4, text: "Major" },
{ value: 5, text: "Extreme" }],
ctrlId: "StatusId"
});ctrlId: (string),
ctrlSelected: (int),
ctrlLabelText: (string),
ctrlIcon: {
delIcon: (string)- glyphicon-remove,
togIconup: (string)- glyphicon-chevron-up,
togIcondown: (string)- glyphicon-chevron-down
}
1.0.0
CustomDrop uses a the following libraries:
- [jQuery]
- [bootstrap]
open plugin1.html