the basics

Select2 can take a regular select box like this:

and turns it into:

with support for quick option filtering via a search box

eg code:

  1. <head>
  2. <link href=”select2.css” rel=”stylesheet”/>
  3. <script src=”select2.js”></script>
  4. <script>
  5. $(document).ready(function() { $(“#e1”).select2(); });
  6. </script>
  7. </head>
  8. <body>
  9. <select id=”e1″>
  10. <option value=”AL”>Alabama</option>
  11. <option value=”WY”>Wyoming</option>
  12. </select>
  13. </body>

52 responses »

  1. nootropic says:

    You have observed very interesting points! ps decent web site.

  2. Very interesting information!Perfect just what I was searching for!

  3. Very interesting info!Perfect just what I was searching for!

  4. kava kava says:

    Very interesting info!Perfect just what I was looking for!

  5. antioxidants says:

    I adored your rich post. topnotch work. I hope you release more. I will continue watching

  6. nootropic says:

    Rattling excellent information can be found on this web site.

  7. jailbreak says:

    I love your wonderful blog. brilliant contribution. I hope you produce many. I will continue reading

  8. I admired your useful site. super information. I hope you write more. I will continue reading

  9. salutations from across the ocean. interesting blog I must return for more.

  10. I like your rich writing. brilliant contribution. I hope you release many. I will carry on reading

  11. salutations from over the ocean. informative article I shall return for more.

  12. Very interesting information!Perfect just what I was searching for!

  13. You have observed very interesting details! ps decent internet site.

  14. nice site says:

    Very interesting information!Perfect just what I was looking for!

  15. d3 gold says:

    Very interesting information!Perfect just what I was searching for!

  16. jailbreak says:

    salutations from across the sea. interesting post I shall return for more.

  17. vitamin says:

    Hello, I just stopped in to visit your blog and thought I’d say I enjoyed myself.

  18. vitamin says:

    This writing has inspired me to carry on focusing on my own blog

  19. l-tyrosine says:

    I like your wonderful blog. first class information. I hope you write others. I will continue reading

  20. l-tyrosine says:

    salutations from over the world. interesting post I will return for more.

  21. Greeting from across the sea. interesting post I must return for more.

  22. I see something genuinely interesting about your web site so I saved to my bookmarks .

  23. notropics says:

    Very interesting information!Perfect just what I was searching for!

  24. picamilon says:

    Very interesting info!Perfect just what I was searching for!

  25. notropics says:

    This writing has inspired me to carry on working on my own blog

  26. This publication has inspired me to start working on my own blog

  27. You have noted very interesting points! ps nice web site.

  28. nootropics says:

    Hi, i think that i saw you visited my weblog so i came to “go back the prefer”.I am attempting to find things to enhance my site!I guess its adequate to make use of some of your ideas!!

  29. nootropics says:

    This blog has inspired me to carry on writing on my own blog

  30. Please let me know if you’re looking for a article writer for your blog. You have some really great posts and I feel I would be a good asset. If you ever want to take some of the load off, I’d absolutely love to write some material for your blog in exchange for a link back to mine. Please blast me an e-mail if interested. Thank you!

  31. Greeting from over the sea. excellent article I shall return for more.

  32. aion kinah says:

    Heya adore this work witness mine

  33. enlightening Here’s a link for your ideas

  34. Hey I considered you possibly like my content

  35. Daggart says:

    Ohhhh derzz, this is badass!

  36. I arrived anticipating something else entirely, but this was great anyway. Interesting stuff.

  37. fitness says:

    Perfect piece of work you have done, this site is really cool with excellent info .

  38. IM Forum says:

    Regards for helping out, wonderful information. “In case of dissension, never dare to judge till you’ve heard the other side.” by Euripides.

  39. best internet forum says:

    I conceive this internet site has very fantastic pent content material blog posts.

  40. Oh my goodness! Impressive article dude! Many thanks, However I am experiencing problems with your RSS. I don’t understand the reason why I am unable to join it. Is there anybody else having the same RSS problems? Anyone who knows the answer will you kindly respond? Thanks.

  41. mind matter says:

    I gotta bookmark this site it seems very beneficial extremely helpful

  42. The new Zune browser is surprisingly good, but not as good as the iPod’s. It works well, but isn’t as fast as Safari, and has a clunkier interface. If you occasionally plan on using the web browser that’s not an issue, but if you’re planning to browse the web alot from your PMP then the iPod’s larger screen and better browser may be important.

  43. Saved as a favorite, I really like your site.

  44. The Zune concentrates on being a Portable Media Player. Not a web browser. Not a game machine. Maybe in the future it’ll do even better in those areas, but for now it’s a fantastic way to organize and listen to your music and videos, and is without peer in that regard. The iPod’s strengths are its web browsing and apps. If those sound more compelling, perhaps it is your best choice.

  45. Pretty! This was a really wonderful post. Thanks for providing this information.

  46. diseño web says:

    Wow, awesome weblog layout! How long have you been running a blog for? you make blogging glance easy. The total look of your site is magnificent, as neatly as the content!

  47. Get full this list in VIP section

Leave a reply to vitamin Cancel reply