Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"selectSearch"
Bootstrap 3.3.0 Snippet by
amit001
3.3.0
Preview
HTML
View Full Screen
Fork
Fork this
1.2K
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> Select Campus<select name="selectCampus" onchange='this.form.submit()'> <option value="1" <?php if(isset($_POST['selectCampus']) && $_POST['selectCampus'] == '1') echo 'selected= "selected"';?>>All Campus</option> <option value="2" <?php if(isset($_POST['selectCampus']) && $_POST['selectCampus'] == '2') echo 'selected= "selected"';?>>Campus one</option> <option value="3" <?php if(isset($_POST['selectCampus']) && $_POST['selectCampus'] == '3') echo 'selected= "selected"';?>>Campus two</option> <option value="4" <?php if(isset($_POST['selectCampus']) && $_POST['selectCampus'] == '4') echo 'selected= "selected"';?>>Campus three</option> <option value="5" <?php if(isset($_POST['selectCampus']) && $_POST['selectCampus'] == '5') echo 'selected= "selected"';?>>Campus four</option> </select><br /> </form> <form action="" method="post"> Select Building<select name="selectBuilding" onchange='this.form.submit()'> <option value="1" <?php if(isset($_POST['selectBuilding']) && $_POST['selectBuilding'] == '1') echo 'selected= "selected"';?>>All buildings</option> <option value="2" <?php if(isset($_POST['selectBuilding']) && $_POST['selectBuilding'] == '2') echo 'selected= "selected"';?>>Building one</option> <option value="3" <?php if(isset($_POST['selectBuilding']) && $_POST['selectBuilding'] == '3') echo 'selected= "selected"';?>>Building two</option> <option value="4" <?php if(isset($_POST['selectBuilding']) && $_POST['selectBuilding'] == '4') echo 'selected= "selected"';?>>Building three</option> <option value="5" <?php if(isset($_POST['selectBuilding']) && $_POST['selectBuilding'] == '5') echo 'selected= "selected"';?>>Building four</option> </select><br /> </form> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> Select System<select name="selectSystem" onchange='this.form.submit()'> <option value="1" <?php if(isset($_POST['selectSystem']) && $_POST['selectSystem'] == '1') echo 'selected= "selected"';?>>All systems</option> <option value="2" <?php if(isset($_POST['selectSystem']) && $_POST['selectSystem'] == '2') echo 'selected= "selected"';?>>System onejjjjjjjjjjjjjjjjj</option> <option value="3" <?php if(isset($_POST['selectSystem']) && $_POST['selectSystem'] == '3') echo 'selected= "selected"';?>>System two</option> <option value="4" <?php if(isset($_POST['selectSystem']) && $_POST['selectSystem'] == '4') echo 'selected= "selected"';?>>System three</option> <option value="5" <?php if(isset($_POST['selectSystem']) && $_POST['selectSystem'] == '5') echo 'selected= "selected"';?>>System four</option> </select><br /> </form> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> Select Resources<select name="selectResources" onchange='this.form.submit()'> <option value="1" <?php if(isset($_POST['selectResources']) && $_POST['selectResources'] == '1') echo 'selected= "selected"';?>>All Resources</option> <option value="2" <?php if(isset($_POST['selectResources']) && $_POST['selectResources'] == '2') echo 'selected= "selected"';?>>Resource one</option> <option value="3"3 <?php if(isset($_POST['selectResources']) && $_POST['selectResources'] == '3') echo 'selected= "selected"';?>>Resource two</option> <option value="4" <?php if(isset($_POST['selectResources']) && $_POST['selectResources'] == '4') echo 'selected= "selected"';?>>Resource three</option> <option value="5" <?php if(isset($_POST['selectResources']) && $_POST['selectResources'] == '5') echo 'selected= "selected"';?>>Resource four</option> </select><br /> </form> </body> </html>
Related:
See More
Template
Vue Now UI Dashboard PRO
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76