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 IE not taking   characters 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 "IE not taking   characters" Watch "IE not taking   characters" New topic

IE not taking   characters

venkat bagam

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

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

I agree. Here's the link:
subject: IE not taking   characters
It's not a secret anymore!