This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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: 368
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: 15385

I agree. Here's the link:
subject: option tag problem
It's not a secret anymore!