I am using Jörn Zaefferer's jquery autocomplete plugin, and I can't seem to figure out how to make it work when I clone an autocomplete field. It almost works, in that the cloned autocomplete field displays the choices when the I type in text, but I cannot select items. At first I thought it was a browser-compatibility issue, but it happens in both FF3 and Safari, so I'm guessing there's a gotcha I've missed.
Here is a working example of what I'm doing:
Autocomplete Clone Demo
Test Autocomplete Cloning
以上就是JQuery: How to clone autocomplete fields?的详细内容,更多请关注web前端其它相关文章!