Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I want a transliterator (Google's) to be embedded in my site. I tried embedding it and I mostly succeeded. It is showing translations, but all of them for a word typed one letter at a time like it shows in Google input tools online like this:

enter image description here

I need such a feature in my site, however it is only showing me at the end of the word when I hit space, not after every key press.

I tried looking at the web console (Firefox), and understood that in the code that I have is sending a request whenever we hit a space. But Google input tools online is sending request to POST a request after every key press then getting and printing data only after space.

share|improve this question

migrated from Apr 2 '14 at 9:26

This question came from our site for power users of web applications.

I'm not quite sure what you mean. Is it that it is updating on space press on your website, and on keypress on a google website? – Daniel F Feb 13 at 0:58

1 Answer 1

up vote 0 down vote accepted

Could you code in an event listener that pings for every keypress instead of the default space / enter key press?

Google Search API and widgets usually have an auto-suggest option, which works the same as you want this to. However, I couldn't find an exact equivalent for the transliterate API, so your only option would be code this in yourself.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.