By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,814 Members | 2,162 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,814 IT Pros & Developers. It's quick & easy.

order elements of a html select list

P: n/a
Hi All,

I need some help with showing option elements of a multiple select list
in a particular order. Is it possible to order the elements according
to the value of the option or the text of the option?

Any pointers will also help.

thanks,
Vivek.

Sep 6 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Vivek said the following on 9/6/2006 3:06 PM:
Hi All,

I need some help with showing option elements of a multiple select list
in a particular order. Is it possible to order the elements according
to the value of the option or the text of the option?

Any pointers will also help.
Why not just code it in the order you want?

But, what order you want them in, and what that order is based on (value
or text) will dictate how to sort them.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Sep 6 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.