Does anybody know how vitural keyboard work with autocomplete?

autocomplete working in normal type with physical keyboard but no result with virtual keyboard

autocomplete sample:
http://www.htmlblog.us/jquery-autocomplete

virtual keyboard:
http://www.greywyvern.com/code/javascript/keyboard

I would appreciate for any suggestion or sample code.

Thank you.