This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes IE not taking   characters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "IE not taking   characters" Watch "IE not taking   characters" New topic
Author

IE not taking   characters

venkat bagam
Greenhorn

Joined: Mar 02, 2009
Posts: 1
Hi Folks,
I have a peculiar problem with IE7.(Am least bothered of IE6). I have 2 select drop-down boxes.


Whenever, a MAKE is selected, the MODEL gets populated with the associated models from the database. If there are no models found, I would like to add a blank option to the MODEL drop-down

Here is my javascript code; This gets executed, after the MODELs drop-down is filled from the database:


This works well in FF as


but IE7 behaves wierd. It displays something like this


Its not treating nbsp; as blank spaces but just rendering them as text. How do I solve this? I appreciate your help...
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Same type of question was asked a few days ago.

http://www.coderanch.com/t/433292/HTML-JavaScript/html-select-tag-space-triming

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IE not taking   characters
 
Similar Threads
Select clause for listing cities for refined search
innerHTML issue with google chrome.
How to disable an option within select dropdown in IE
How to allow 'Select none' in a JComboBox or JList
JSTL tags