Jump to content

trim()


boo_lolly

Recommended Posts

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?
Link to comment
Share on other sites

[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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.