A particular web-page which makes use of Ajax.Autocompleter by Scriptaculous has been working ok for ever both in IE and FF. It turns out that it no longer works in FF5 nor IE9. My findings are:
Web-page is using latest Prototype 1.7 and Scriptaculous 1.9
Has anyone got issues with Ajax.Autocompleter in IE9 or FF5? Thank you. Bart
Have things working now: turns out the Ajax responses cannot have an XML processing instruction, <?xml version="1.0" encoding="UTF-8"?>
Omitting this instruction and simply returning <ul><li>...</li><li>...</li></ul>
makes things work flawlessly.
I welcome other suggestions.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.