An example of combox written in pure javascript.