Hi mitul,

sorry to not post sooner.
First I think this is what we can consider as a chrome bug, even if
nothing is detail on specs (or didn't find them).
So I try some test with what can resolve this problem, here it is:

the only thing to do is to save locally the value of the textarea, and
reinject it BUT before, set the focus to the textarea to force chrome
to reinitialize its counter (or something like that).
this test seems to work:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
<head>
    <title>test</title>
</head>
<body>
<textarea id="test">defautValue with spaces sssss repeated defautValue
with spaces sssss defautValue with spaces sssss</textarea>
<button onclick="myTest()">start</button>
<script>
        function myTest(){
                var _e=document.getElementById('test');
                var _temp=_e.value
                _e.value='';
                _e.focus();
                _e.value=_temp;
        }
</script>
</body>
</html>


Does it work in your context ?

--
david


On 19 fév, 13:02, Mitul <[email protected]> wrote:
> Nope. Here we have to add multiple values using comma seperates. so
> that wont work i think.
>
> On Feb 19, 4:55 pm, david <[email protected]> wrote:
>
> > Hi mitul,
>
> > I will take a look at this with chrome (I did not have chrome here)
> > tonight (Paris Time).
> > Does the idee to clear the textarea and insert the selected value does
> > not resolve your problem ?? even in chrome ??
>
> > --
> > david
>
> > On 19 fév, 12:26, Mitul <[email protected]> wrote:
>
> > > sorry for incomplete details.
>
> > > Look at Ask a Question at bottom right side. Please enter "Tata" in Is
> > > the question related to any stocks? textarea then hit enter after
> > > selecting anyone choice. Cursor will stay at the end of Tata. It
> > > should goes at the end of selected stock.
>
> > > Thanks for your comment.
>
> > > Mitul Patel.
>
> > > On Feb 19, 4:15 pm, david <[email protected]> wrote:
>
> > > > Hi mitul,
>
> > > > where is the auto-suggest ??
>
> > > > btw, very nice design !!
> > > > Just one thing I notice: When you click on advanced sarch, you link to
> > > > a new page and the main menu (green)  doesn't show anymore where you
> > > > are.
> > > > But that is not a crucial point !! and it's perhaps wanted ??
>
> > > > --
> > > > david
>
> > > > On 19 fév, 12:04, Mitul <[email protected]> wrote:
>
> > > > > Thanks for your reply david.
>
> > > > > You can test problem onhttp://www.moneyvidya.com/learn/qna.html. You
> > > > > can use following details to login:
>
> > > > > Username: mitulkalol a t y a h o o . com
> > > > > password: mitul123
>
> > > > > Thanks,
> > > > > Mitul
>
> > > > > On Feb 19, 3:57 pm, david <[email protected]> wrote:
>
> > > > > > Hi Mitul,
>
> > > > > > can't test your problem, but if you grab the return value when the
> > > > > > user selected one entry, and reapply the returned value to the
> > > > > > textarea, doesn't it resolve your problem??
>
> > > > > > --
> > > > > > david
>
> > > > > > On 19 fév, 08:19, Mitul <[email protected]> wrote:
>
> > > > > > > Hello Friends,
>
> > > > > > > I am having a problem since long time. I am stuck at issue which 
> > > > > > > is
> > > > > > > related to Google Chrome only. Here is my problem
>
> > > > > > > I have used auto-suggest feature of prototype. When I enter a 
> > > > > > > text in
> > > > > > > textarea and autosuggest comes up. When I select an item from list
> > > > > > > cursor is stay at last character I have type. It is not moves to 
> > > > > > > at
> > > > > > > the end of the selected item. This issue is with only Chrome not 
> > > > > > > with
> > > > > > > other browser.
>
> > > > > > > Please help me if anyone have same problem.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to