Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "option tag problem" Watch "option tag problem" New topic
Author

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.


>


Thanks,
Shailesh
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6


Eric
 
Consider Paul's rocket mass heater.
 
subject: option tag problem
 
Similar Threads
how to control select box highlighted text
dymamic generate text input field
Getting null while trying to get value of Multiple list
Regarding readOnly property of input type control in html.
Clear all values in drop down menu.