templating

various display options of the Select2 component can be changed:

eg code:

  1. function format(state) {
  2. return “<img class=’flag’ src=’images/flags/” + state.id.toLowerCase() + “.png’/>” + state.text;
  3. }
  4. $(“#e4”).select2({
  5. formatResult: format,
  6. formatSelection: format
  7. });

34 responses »

  1. Tera gold says:

    Really good information can be found on this blog.

  2. picamilon says:

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

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

  4. zinc oxide says:

    salutations from over the sea. Great article I must return for more.

  5. kava kava says:

    Very fantastic info can be found on this site.

  6. nootropic says:

    Really fantastic information can be found on this site.

  7. nootropic says:

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

  8. jailbreak says:

    You have remarked very interesting details! ps nice site.

  9. jailbreak says:

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

  10. I consider something truly interesting about your website so I bookmarked .

  11. This writing has inspired me to start working on my own blog

  12. I view something really interesting about your web site so I saved to favorites .

  13. d3 items says:

    I admired your intriguing post. awesome contribution. I hope you release more. I will carry on subscribing

  14. jailbreak says:

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

  15. vitamins says:

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

  16. vitamins says:

    You have remarked very interesting details! ps decent web site.

  17. l-tyrosine says:

    I love your helpful article. good stuff. I hope you produce more. I will continue subscribing

  18. l-tyrosine says:

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

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

  20. Rattling superb info can be found on this website.

  21. picamilon says:

    I appreciate your rich post. excellent stuff. I hope you write many. I will carry on watching

  22. picamilon says:

    Good Morning, I just stopped in to visit your blog and thought I’d say thanks for having me.

  23. notropics says:

    Rattling great info can be found on this blog.

  24. I regard something really interesting about your web site so I saved to bookmarks .

  25. nootropics says:

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

  26. I’m truly enjoying the design and layout of your website. It’s a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a designer to create your theme? Excellent work!

  27. salutations from across the ocean. Great blog I will return for more.

  28. aion kinah says:

    Hey love your efforts take a browse of mine

  29. Bonjour adore this article check out mine

  30. Never troubled me reading this kind of article. You just don’t regret the time spent! Thanks buddy, yet another site I will favourite!

  31. fitness says:

    Dead written content material , thankyou for entropy.

  32. online money says:

    I liked as much as you’ll obtain performed right here. The sketch is tasteful, your authored material stylish. however, you command get bought an nervousness over that you would like be turning in the following. in poor health certainly come further previously once more as precisely the same just about a lot often inside of case you defend this hike.

Leave a reply to l-tyrosine Cancel reply