PDA

View Full Version : Small Curiosity


davidseye
12-07-2005, 07:02 AM
I'm doing a little AJAXpage where the javascript XmlHttpRequest objectis passing the contents of a form's text field to a classic asp page where the text is put into the database, then the db's contents are written to XML and passed back to the page. What I am finding is that the text is passed but all the white spaces between words are gone and the string is put in the database, and retrieved, as a single long string, for example: 'MynameisDavid', rather than 'My name is David'. I've tried to research what is causing this but I can't seem to figure it out. Has anyone ever dealt with this before? Thanks.