placeholders

a placeholder value can be defined & will be displayed until a selection is made:

 

 

 

the placeholder can be declared via a data-placeholder attribute attached to the select@ via the placeholder configuration element as seen in the example code.

optionally, a clear button (visible once a selection is made) is available to reset the select box back to the placeholder value.

 

eg code:

  1. $(“#e2”).select2({
  2. placeholder: “Select a State”,
  3. allowClear: true
  4. });
  5. $(“#e2_2”).select2({
  6. placeholder: “Select a State”
  7. });

63 responses »

  1. d3 items says:

    Cheers, I just stopped by to visit your site and thought I’d say I enjoyed myself.

  2. l-theanine says:

    I admired your intriguing site. great information. I hope you produce others. I will carry on subscribing

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

  4. click this says:

    Rattling great info can be found on this web site.

  5. SAM-e says:

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

  6. nootropic says:

    Hello, i believe that i saw you visited my weblog so i got here to “go back the choose”.I am attempting to in finding things to enhance my site!I guess its good enough to use some of your ideas!!

  7. nootropic says:

    I see something really interesting about your site so I saved to fav.

  8. jailbreak says:

    You have noted very interesting points! ps decent internet site.

  9. jailbreak says:

    I regard something really interesting about your weblog so I saved to favorites .

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

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

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

  13. This publication has inspired me to start writing on my own blog

  14. d3 items says:

    Good Morning, I just stopped by to visit your site and thought I’d say thank you.

  15. click this says:

    You have noted very interesting points! ps decent internet site.

  16. d3 gold says:

    This blog has inspired me to continue working on my own blog

  17. jailbreak says:

    Hello, i feel that i noticed you visited my weblog thus i came to “return the prefer”.I’m trying to to find issues to enhance my site!I guess its ok to use a few of your ideas!!

  18. vitamin says:

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

  19. incontinence says:

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

  20. l-tyrosine says:

    salutations from over the sea. precise blog I will return for more.

  21. picamilon says:

    You have noted very interesting details! ps decent internet site.

  22. notropics says:

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

  23. picamilon says:

    I admired your insightful words. great contribution. I hope you write others. I will continue subscribing

  24. notropics says:

    I reckon something truly interesting about your website so I bookmarked .

  25. Erica Frost says:

    MMMM PEANUT BUTTTTTERRRRRRRRRRRRR

  26. Altamira says:

    excellent post. i want to thank you for this informative read, i really appreciate sharing this great post. keep up your work.http://www.busquemail.com.br

  27. I reckon something genuinely interesting about your web blog so I saved to my bookmarks .

  28. Many thanks for your publish I had no idea analytics could track blog comments so well. I’ll should try this on my sites.

  29. I agree on the complaint. I think that is why they’re working on the curation aspect so you can unfollow those who are posting also many things you really don’t want. Most with the front page items are awesome but some on the stuff were things posted on Reddit months ago.

  30. nootropics says:

    Really superb information can be found on this site.

  31. nootropic says:

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

  32. Flora Ewoldt says:

    I might like to know where I’m able to obtain space elements for freem such as planets, stars and comets.
    Does anybody know where?
    Thaks a lot in advance.

  33. Reed Quante says:

    I’d personally must consult anyone here. Which can be not really something We typically complete! I love reading through a new content that may find individuals to think. Likewise, thanks a lot intended for permitting myself to be able to opinion!

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

  35. Thank you for your site post. Velupe and I have been saving to get a new ebook on this topic and your blog post has made all of us to save our own

  36. aion kinah says:

    Heya look at our trackback when you have a second

  37. aion kinah says:

    Hey admire your work have a ganders of mine

  38. An impressive share, I just given this onto a colleague who was doing a little analysis on this. And he in fact bought me breakfast because I found it for him.. smile. So let me reword that: Thnx for the treat! But yeah Thnkx for spending the time to discuss this, I feel strongly about it and love reading more on this topic. If possible, as you become expertise, would you mind updating your blog with more details? It is highly helpful for me. Big thumb up for this blog post!

  39. Hey amiga!!! I really like the dress but… I think the top is SO YOU!! So colorful and free flowing- that is my choice for you. You’ll produce a splash in either. I really like the Limited but haven’t shopped there within a while- thanks for the reminder. Hugs!!

  40. fitness says:

    I really happy to find this web site on bing, just what I was searching for : D as well saved to favorites .

  41. best internet forum says:

    I regard something truly special in this site.

  42. best internet forum says:

    We are a group of volunteers and starting a new scheme in our community. Your web site offered us with valuable information to work on. You’ve done an impressive activity and our entire community will likely be grateful to you.

  43. This is the best site for anyone who desires to find out about this topic. You notice so much its nearly onerous to argue with you (not that I truly would want…HaHa). You undoubtedly put a brand new spin on a subject thats been written about for ages. Nice stuff, simply nice!

  44. best internet forum says:

    I think this website has got very wonderful indited subject material content.

  45. IM Forum says:

    Unquestionably consider that that you said. Your favourite justification appeared to be on the internet the easiest factor to be mindful of. I say to you, I definitely get irked whilst folks think about issues that they just don’t recognize about. You managed to hit the nail upon the highest and defined out the whole thing without having side-effects , people can take a signal. Will probably be back to get more. Thanks!

  46. Good write-up. I definitely appreciate this website. Keep writing!

  47. Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point.
    You obviously know what youre talking about, why waste your intelligence on just posting videos to your site when you could be giving
    us something informative to read?

  48. Some really prize blog posts on this web site , saved to fav.

  49. online money says:

    I would like to thnkx for the efforts you’ve put in writing this site. I am hoping the same high-grade website post from you in the upcoming also. In fact your creative writing skills has encouraged me to get my own web site now. Actually the blogging is spreading its wings rapidly. Your write up is a great example of it.

  50. I love the efforts you have put in this, appreciate it for all the great articles.

  51. mind matter says:

    I believe other website proprietors should take this site as an model, very clean and fantastic user pleasant design and style . “Only I can change my life. No one can do it for me.” by Carol Burnett.

  52. Truth of the matter be told, the parts chosen while in the commercials, are one of the most irrelevant splits during the photo, and considering that the commercials make the photograph look random and funny, why wouldn’t you’d like to search it? For those who choose to experience it nevertheless, really don’t have superior expectations coming in although, for the reason that film plausibly will disappoint you. Soon after all, the toon Television is fantastic, why should not the film be equally as very good? They produced this sort of a large ad campaign, and had a ton of promotions, their commercials ended up funny even though random, and good day, it is a Simpson’s flick! I do uncover the beginning of your photograph instead ironic, in which the Simpson’s family are sitting inside the flick theater watching an Itchy and Scratchy film. Homer then stands up during the middle from the photo, and asks why they had to shell out to look a picture they could see for cost-free on a flick. Then he goes on to state that everyone in that audience can be a sucker, than he points in the screen, and states primarily you! It is really other, due to the fact at the stop of your flick, you get from your seat and stretch, reviewing the complete film, and realize he’s right, you’re a sucker for watching this flick.

  53. hot chicks says:

    Wow, awesome blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your web site is excellent, let alone the content!. Thanks For Your article about Taking the GOLD! ….

    Wow, fantastic blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your web site is magnificent, let alone the content!. Thanks For Your article about Taking the GOLD! ….

  54. Aw, this was a really good post. Taking a few minutes and actual effort to create a superb article… but what can I say… I hesitate a whole lot and never seem to get anything done.

  55. The Silent Shard…

    This could almost certainly be quite beneficial for some of one’s work I plan to really don’t only with my blog site but…

  56. This is a topic that’s close to my heart… Take care! Where are your contact details though?

  57. I have recently started a website, the information you provide on this site has helped me greatly. Thanks for all of your time & work.

  58. Outstanding post, I think website owners should acquire a lot from this web blog its real user genial . “You don’t have to deserve your mother’s love. You have to deserve your father’s.” by Robert Frost.

  59. Google says:

    that could be the finish of this post. Here you will uncover some internet sites that we consider youll value, just click the hyperlinks over

  60. Interesting article. Were did you get all the information from? Anyway thank you for this great post!…

    I must commend this blog good article…

As salam. Hi. Leave a Comment?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s