Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

what is the visible select choice named

Posted on 2013-10-29
8
232 Views
Last Modified: 2013-10-29
<select >
<option value="1">user can see this first choice</option>
<option value="2">user can see this second choice</option>
</select>


syntax:
user can see this first choice
user can see this second choice

what are these called
'viable options'
'what user can see'
0
Comment
Question by:rgb192
8 Comments
 
LVL 30

Expert Comment

by:Alexandre Simões
ID: 39608019
What??? :)

Is this an English question?
You're asking what's the best way to refer to the options on your select?

I would call it: Available Options
0
 
LVL 43

Expert Comment

by:Chris Stanyon
ID: 39608251
Not sure I understand your question. By default a <select> will show 1 option, allowing the user to dropdown and select the others. If you need to see more than one option at a time, add a size attribute to the <select>

<select size="3">
   <option value="1">user can see this first choice</option>
   <option value="2">user can see this second choice</option>
</select>

Open in new window

0
 
LVL 30

Expert Comment

by:Alexandre Simões
ID: 39608337
@ChrisStanyon: I think I was misunderstood.

I wasn't complaining about the quality of the English used in the question.
I meant to ask if his question was about how to explain what the <select> data was about in English... and so I ended up explaining it.

P.S.: I'm also not an English native speaker, I'm Portuguese! :)
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 31

Expert Comment

by:Marco Gasi
ID: 39608354
Hi rgb192. For the first thing maybe you want to know how to make a value selected in the select, isn't it?

<select size="3">
   <option value="1" selected>user can see this first choice</option>
   <option value="2">user can see this second choice</option>
</select>

Open in new window


this way user can see 'user can see this first choice'


<select size="3">
   <option value="1">user can see this first choice</option>
   <option value="2" selected>user can see this second choice</option>
</select>

Open in new window


Instead this way user can see 'user can see this second choice'

Hope to have understood your first question, but I'm sure to not understand thiese lines:

what are these called
'viable options'
'what user can see'
0
 
LVL 109

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 39608390
These are called "options" just like the tag name would suggest.  Each "option" has a required attribute of "value" and optional attributes like "id" or "class", etc.  When the client makes a single selection, it is called the "selected option" and if the multiple attribute is made available, those options that the client selected would be called the "selected options."
0
 

Author Closing Comment

by:rgb192
ID: 39610709
These are called "options" just like the tag name would suggest.

Thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question