A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Badass: Making Users Awesome
this week in the
Need suggestion on select option text
Joined: Jan 23, 2008
May 20, 2013 15:09:15
I have a drop-down of users. I need a way to display role of that user just next to its name. I need some good way to do this. Just want to make sure that is easy for User to understand.
Author and ninkuma
Joined: Jan 10, 2002
May 20, 2013 16:49:41
With a native dropdown, you're kinda stuck with plain text. So you could put a comma and the role. But beyond that, there's not a whole lot of other options for formatting.
If you look around, you can likely find jQuery plugin replacements for dropdowns that would let you do more formatting in the engineered dropdown, likely including columns.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Need suggestion on select option text
Doubt using JS to call a h:commandButton
Newbie: How to add new attribute into "input" element
Passing the exam
IVR portal system web service requirement
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015