aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes option tag problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "option tag problem" Watch "option tag problem" New topic

option tag problem

Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 365
I am using select option tags for displaying multiple dropdown,

where value in option tag contain "<" character, due to that I that option is comming blank in dropdown.
Is there any javascript method to encode it so that, "<" this character is treated as a normal alphabet.

below I pasted psuedo code,

by using these dropdown is comming but "<Orange" option is comming empty(but it is there we select that blank option).

Thanks in Advance.


Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376

I agree. Here's the link:
subject: option tag problem
Similar Threads
dymamic generate text input field
Regarding readOnly property of input type control in html.
how to control select box highlighted text
Clear all values in drop down menu.
Getting null while trying to get value of Multiple list