Hey Refreshers,

I have a form on a webpage and I have no control over the way it's
marked up. The form has a SELECT box for "Language" with multiple
options. We do not want users to be able to select some of the
languages in the SELECT box, but have no way to remove the options
from the form. I'm curious is there is a way using JavaScript to hide
some of the options by specifying their values. For example, on this
form:

<form>
<select  id="LanguageLocaleKey" name="LanguageLocaleKey">
<option value="1" selected="selected">English</option>
<option value="33">German</option>
<option value="41">Spanish</option>
<option value="48">French</option>
<option value="50">Italian</option>
<option value="52">Japanese</option>
<option value="58">Swedish</option>
<option value="53">Korean</option>
<option value="27">Chinese (Traditional)</option>
<option value="21">Chinese (Simplified)</option>
<option value="64">Portuguese (Brazilian)</option>
<option value="23">Dutch</option>
<option value="70">Danish</option>
<option value="59">Thai</option>
<option value="66">Finnish</option>
<option value="57">Russian</option>
</select>
</form>

I only want to show a few of these options in the pull-down menu, but
cannot hide the unwanted options using CSS (as far as I know) since
there are no ids/classes to add style to. Is there a way to do this
with JavaScript (using the option "values")?

Thanks in advance for any help you can offer.

-- Rob Scott

--~--~---------~--~----~------------~-------~--~----~
Our Web site: http://www.RefreshAustin.org/

You received this message because you are subscribed to the Google Groups 
"Refresh Austin" group.

[ Posting ]
To post to this group, send email to [email protected]
Job-related postings should follow 
http://groups.google.com/group/Refresh-Austin/web/refresh-austins-job-posting-guidelines.
We do not accept job posts from recruiters.

[ Unsubscribe ]
To unsubscribe from this group, send email to 
[email protected]

[ More Info ]
For more options, visit this group at 
http://groups.google.com/group/Refresh-Austin
-~----------~----~----~----~------~----~------~--~---

Reply via email to