Gcomplete is a project mainly written in JavaScript, it's free.
Autocomplete for Input text and textarea
This plugin is from this blog.
i only make changes for textarea support.
usage:
$('textarea').gcomplete({
onweword: true, // for now always true
limit: 10 // how many word for autocomplete list
})