Commit 1f4dd581 authored by Luís Rudge's avatar Luís Rudge

added demo to the html

parent 2eb5400f
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Bootstrap Multiselect</title> <title>Bootstrap Multiselect</title>
...@@ -103,7 +103,9 @@ ...@@ -103,7 +103,9 @@
$('#example24').multiselect(); $('#example24').multiselect();
$('#example25').multiselect({dropRight: true}); $('#example25').multiselect({ dropRight: true });
$('#example27').multiselect({ includeSelectAllOption: true });
}); });
</script> </script>
<p> <p>
...@@ -125,19 +127,34 @@ ...@@ -125,19 +127,34 @@
Normal select. The plugin will do single selection using radio buttons rather than multiple selection using checkboxes. Normal select. The plugin will do single selection using radio buttons rather than multiple selection using checkboxes.
</td> </td>
</tr> </tr>
<tr> <tr>
<td>
<select id="example2" multiple="multiple">
<option value="cheese" selected>Cheese</option>
<option value="tomatoes" selected>Tomatoes</option>
<option value="mozarella" selected>Mozzarella</option>
<option value="mushrooms">Mushrooms</option>
<option value="pepperoni">Pepperoni</option>
<option value="onions">Onions</option>
</select>
</td>
<td>
Select with preselected options: <code>&lt;option value=&quot;cheese&quot; selected&gt;Cheese&lt;/option&gt;</code>
</td>
</tr>
<tr>
<td> <td>
<select id="example2" multiple="multiple"> <select id="example27" multiple="multiple">
<option value="cheese" selected>Cheese</option> <option value="cheese">Cheese</option>
<option value="tomatoes" selected>Tomatoes</option> <option value="tomatoes">Tomatoes</option>
<option value="mozarella" selected>Mozzarella</option> <option value="mozarella">Mozzarella</option>
<option value="mushrooms">Mushrooms</option> <option value="mushrooms">Mushrooms</option>
<option value="pepperoni">Pepperoni</option> <option value="pepperoni">Pepperoni</option>
<option value="onions">Onions</option> <option value="onions">Onions</option>
</select> </select>
</td> </td>
<td> <td>
Select with preselected options: <code>&lt;option value=&quot;cheese&quot; selected&gt;Cheese&lt;/option&gt;</code> Multiselect with a 'Select all' option
</td> </td>
</tr> </tr>
<tr> <tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment