IE bug (autocomplete)
|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
IE bug (autocomplete)I'm using the autocomplete plugin fromhttp://jquery.bassistance.de/,
and my client is reporting that in IE, the multiple values are not working. He even tried the demo at: http://jquery.bassistance.de/autocomplete/demo/ And the bug is happening there too for 'multple cities'. What he's describing is that the second value is replacing the first value. Has anyone ran into this bug before? Any ideas? |
|
|
Re: IE bug (autocomplete)I found a fix, and that seems to take care of most of the bugs, here
is the fix: http://groups.google.com/group/jquery-en/browse_thread/thread/425452d21d7d8bd6/98db08dc8f2f24ec?lnk=gst&q=autocomplete+multiple#98db08dc8f2f24ec However, now (in IE) when a sub-option is clicked, the cursor goes to the beginning of the field. Does anyone know how I could fix that? Thanks On Nov 5, 6:00 pm, Cody <codyod...@...> wrote: > I'm using theautocompleteplugin fromhttp://jquery.bassistance.de/, > and my client is reporting that inIE, the multiple values are not > working. He even tried the demo at: > > http://jquery.bassistance.de/autocomplete/demo/ > > And the bug is happening there too for 'multple cities'. > > What he's describing is that the second value is replacing the first > value. > > Has anyone ran into this bug before? Any ideas? |
|
|
Re: IE bug (autocomplete)Hi, I have the same problem too. Have you found a solution. I've
checked the code and the problem is in the selection function: $.fn.selection this part: if (field.createTextRange) { var range = document.selection.createRange(), orig = field.value, teststring = "<->", textLength = range.text.length; range.text = teststring; var caretAt = field.value.indexOf(teststring); by some reason it returns always 0-s. I tried with different approach for taking the cursor position which works for sure (http:// laboratorium.0xab.cd/jquery/fieldselection/0.1.0/test.html). But when it is executed in the autocomplete context it gives wrong (zeros) results too. I think that the problem is related with the focus of the textbox. Anyway still can't get it work property. On 6 Ноем, 18:54, Cody <codyod...@...> wrote: > I found a fix, and that seems to take care of most of the bugs, here > is the fix: > > http://groups.google.com/group/jquery-en/browse_thread/thread/425452d... > > However, now (inIE) when a sub-option is clicked, the cursor goes to > the beginning of the field. Does anyone know how I could fix that? > > Thanks > > On Nov 5, 6:00 pm, Cody <codyod...@...> wrote: > > > > > I'm using theautocompleteplugin fromhttp://jquery.bassistance.de/, > > and my client is reporting that inIE, the multiple values are not > > working. He even tried the demo at: > > >http://jquery.bassistance.de/autocomplete/demo/ > > > And the bug is happening there too for 'multple cities'. > > > What he's describing is that the second value is replacing the first > > value. > > > Has anyone ran into this bug before? Any ideas? |
| Free embeddable forum powered by Nabble | Forum Help |