File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
jQuery in Action, 3rd edition