jQuery UI Autocomplete IE Cursor Position Bug

Posted by CountZero on Stack Overflow See other posts from Stack Overflow or by CountZero
Published on 2010-06-14T11:59:06Z Indexed on 2010/06/14 12:02 UTC
Read the original article Hit count: 158

Heya,

I have just implemented the excellent jQuery UI autocomplete.

http://jqueryui.com/demos/autocomplete/

There is a strange bug in IE 8 (and maybe other versions).

When you select an item from the box of suggestions in IE 8 the cursor moves to the begining of the textbox before the suggested word which has just been inserted.

Firefox put the cursor after the inserted word.

Does anyone know of a fix for this?

Regards

Steve

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jquery-ui