boo_lolly Posted November 29, 2006 Share Posted November 29, 2006 my pre-populated input fields are ending the value as soon as it hits a whitespace. for example. one input field that is pre-populated has an address. 1234 SomeStreet, right? well, the input field will only display 1234. is there a way or a function that is the antithesis of trim()? is this how i would fix the problem? Quote Link to comment Share on other sites More sharing options...
jcbarr Posted November 29, 2006 Share Posted November 29, 2006 Show us the code. If the input is not enclosed in the correct syntax that could be what is causing your problem. Quote Link to comment Share on other sites More sharing options...
sw0o0sh Posted November 29, 2006 Share Posted November 29, 2006 [quote author=boo_lolly link=topic=116765.msg475914#msg475914 date=1164836779]my pre-populated input fields are ending the value as soon as it hits a whitespace. for example. one input field that is pre-populated has an address. 1234 SomeStreet, right? well, the input field will only display 1234. is there a way or a function that is the antithesis of trim()? is this how i would fix the problem?[/quote]perhaps replacing your spaces with %20 ? I don't really get what your asking here, so just a thought as it worked for me on an issue I was having like that with Javascript. Quote Link to comment Share on other sites More sharing options...
trq Posted November 29, 2006 Share Posted November 29, 2006 This is usually caused by malformed html. Are you surrounding your values in quotes? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.