Thread:Project:Support desk/Autocomplete searchbox in WPTouch?/reply (3)

Have a look at the  function in MonoBook.php