Like this:

Related

Thanks for the nice post, i would love to see that implemented on a sharepoint page. can you please post a guideline as to how do i do this on a sharepoint page. i have a document library and thre is a upload form with few dropdowns wchih are not sorted alphabetically…

I’m not familiar with the term sharepoint. Do you mean that you have a master page where you want to put the JavaScript to sort all your drop-down list? In this case, it should be easy to put this script in the head section of the master page.

Great Article. This code will only work for dropdown list in SharePoint will a selection option. In SharePoint, if the property contain more than 30esh items, a different DropDown box that allows the user to type the value. This type of control will not sort. any ideas on how to sort work for this control?

Thank you for you quick response. SharePoint have two types of dropdowns, one of them is the “Select/Option” element, this control is used for small selections. For bigger selection Sharepoint uses the input control. the HTML code for that is:

The DropDown List is from the Choices property. 1960|1 represents the Year 1960, 1961|2 represents the Year 1961, etc…

I’m not using SharePoint so I can’t test any solutions. But I think you should try sorting this control server side. Maybe there is a properties of this control that provide you a sorting option. You could also check this out :

Attractive section of content. I just stumbled upon your blog and in accession capital to assert that I get in fact enjoyed account your blog posts.
Any way I’ll be subscribing to your feeds and even I achievement you access consistently rapidly.

Hey I know this is off topic but I was wondering if
you knew of any widgets I could add to my blog that automatically tweet
my newest twitter updates. I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.

These anti-oxidants are good and have potential
in them to help you lose weight, there are exceptions to using diet
and pure green coffee bean extract reviews with ephedra. Numerous
other studies have proved that green tea reduces the oxidation property of LDL cholesterol there by reducing the chance of developing diabetes.

Amazing blog! Do you have any recommendations for aspiring writers?
I’m hoping to start my own website soon but I’m a little lost on everything.
Would you suggest starting with a free platform like WordPress
or go for a paid option? There are so many options out there that
I’m completely confused .. Any ideas? Many thanks!