File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IE not taking   characters

 
venkat bagam
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic