Hi,
I even tried replacing the spaces with but it didn't work. It
still returns me by stripping all spaces & keeping it only 1 space. Now I
can confirm that this is a bug.
Gurus, can anyone help how to fix this bug?
Thanks in Advance!!
On Mon, Sep 8, 2008 at 11:49 AM, Jack D <[EMAIL PROTECTED]> wrote:
> Hi bluezehn,
> Thanks for your reply!!!
>
> I know that it is a html behaviour. However, is there any other way
> that I can compose these inputs in other format & not in <ul> tags, since
> they are causing problems?
>
> I mean instead of passing the data in <ul>, can I pass it without
> <ul> or some other way & the scriptaculous will still work??? The reason I'm
> asking this is because I need to use the selected name as input to another
> query. And when there is more than 1 space, scriptaculous strips all spaces
> & leaves only 1 space which gets passed to my another query which eventually
> fails to return any data for the selected name since the name has been
> modified by the scriptaculous.
>
> I do not want to insert & then again strip it which looks an
> unnecessary extra job. If scriptaculous can change the format & if some one
> can tell me how to change it, I'll really appreciate it!!!
>
> Please kindly reply!!
>
> Thanks again!!
>
>
> On Mon, Sep 8, 2008 at 9:01 AM, bluezehn <[EMAIL PROTECTED]>wrote:
>
>>
>> This isn't a bug. This is standard html behaviour. Imagine you write a
>> paragraph like this:
>>
>> <p>This is
>>
>>
>>
>> a paragraph.</p>
>>
>> To stop confusion between:
>>
>> This is
>>
>>
>> a paragraph
>>
>> And:
>>
>> This is a paragraph
>>
>> HTML will always invoke the latter. If you wanted the former, you
>> need:
>>
>> <p>This is<br />
>> <br />
>> <br />
>> a paragraph</p>
>>
>> In your example, you need to enter some non-breaking spaces ( )
>> into the html. Server side, you'll want to do some kind of logic.
>> Without thinking about it very much at all, you'll want to convert
>> every space which follows a space into a
>>
>> On Sep 5, 11:52 pm, Jack <[EMAIL PROTECTED]> wrote:
>> > Hi,
>> > I'm using scriptaculous-js-1.6.4.zip for autocompelte
>> > funcationality. It works fine except when I type name with spaces in
>> > between. Lets say the DB contains the name as "Jack Norman" with
>> > some space in between. In this case, if I type the name as J then the
>> > query returns the result as "Jack Norman" to the list as shown
>> > below:
>> > <ul>
>> > <li>Jack Norman</li>
>> > </ul>
>> >
>> > And it shows the results with 1 space by stripping remaining spaces.
>> > What I need is the exact name with spaces. Is this bg fixed?
>> >
>> > Thanks!
>> >>
>>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---