Skip to content

rjjohnpatrickcruz/bootstrap-combobox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bootstrap Combobox

We had need of a combobox at work and after looking around at the available options I was not happy with any of them. The project had all it's styling based on Twitter's Bootstrap, so building on that made sense.

Looking for a new maintainer

I am looking for a new maintainer for this library if anyone is interested. I have changed jobs and no longer use it in any projects. It would be better served by being maintained by someone who uses it regularly. If you are interested let me know by commenting on this issue.

How to use it

The dependencies are the Bootstrap stylesheet(CSS or LESS). Include it and then the stylesheet(CSS or LESS) and javascript.

Then just activate the plugin on a normal select box(suggest having a blank option first):

<select class="combobox">
  <option></option>
  <option value="PA">Pennsylvania</option>
  <option value="CT">Connecticut</option>
  <option value="NY">New York</option>
  <option value="MD">Maryland</option>
  <option value="VA">Virginia</option>
</select>

<script type="text/javascript">
  $(document).ready(function(){
    $('.combobox').combobox();
  });
</script>

Live Example

http://dl.dropbox.com/u/21368/bootstrap-combobox/index.html

License

Licensed under the Apache License, Version 2.0

About

A combobox plugin that works with twitter bootstrap

Resources

Stars

Watchers

Forks

Packages

No packages published