aspose file tools*
The moose likes JSP and the fly likes after space remaing string  is not displayed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "after space remaing string  is not displayed" Watch "after space remaing string  is not displayed" New topic
Author

after space remaing string is not displayed

riaz mahsha mohamed
Greenhorn

Joined: Aug 18, 2010
Posts: 16
hi i am new to this forum can any one help me!!!

my code is that i am getting values from from DB and display values dynamically in the drop down box.I use Jquery function
( $('#locations').change(function(){.......... ) to select the drop item and after selecting the value i get only the value before the space and the value after space is not displayed. for ex: floor 1 i select and i get only " floor " and not space and 1.
what wil be the mistake i have done .. please help me.

thanks in advance
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Welcome to JavaRanch!

Without the code and rendered HTML it's impossible to help. It's always important to TellTheDetails -- the ItDoesntWorkIsUseless FAQ entry provides further information.
riaz mahsha mohamed
Greenhorn

Joined: Aug 18, 2010
Posts: 16
oh sorry , i new to this forums and i am not having the any posting experiences.

---------------------------------------------------------------------------------------------------------------------------------------------------

for ex: ------select category-----
| main block |
| block 1 |
| block 2 |
----------------------

// when i select the category i dynamically takes value from DB
//and populates the floor drop down box
ex: ---------select floor------
// | floor 1 |
// | floor 2 |
-------------------------
// see floor 1 floor 2 are with spaces it is correctly displayed


// problem is that when try to select the required floor for ex: floor 1
// only " floor" is displayed space 1 is not displayed .
// what my code is that by taking the "category" and "floor" i will display
// another list of values in another text box.






---------------------------------------------------------------------------------------------------------------------------------------------------
No problem in DB , issue is Jsp page. Please i couldn't able to solve this issue for past 1 day please help me out of it!!!

thank you
Riaz Mohamed









Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61233
    
  66

Please be sure to use code tags when posting code to the forums. Unformatted or unindented code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please click this link ⇒ UseCodeTags ⇐ for more information.

Properly indented and formatted code greatly increases the probability that your question will get quicker, better answers.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: after space remaing string is not displayed