I have a javascript to type input values like name, address etc in html form in Devnagari (Hindi -India) language and in English with toggle. For that F9 button on keyboard to be pressed to toggle between Hindi And English language.
Is it possible to provide a link / button to user which will work as F9 when pressed and toggle languages... ?
currently I am using following javascript to enable hindi and english language to type in input fields in html form with F9 as toggle language key..
<script language="javascript" type="text/javascript">
devnagari.addLanguage(DevIndic,"Hindi");
devnagari.enable();
devnagari.setToggleKey(120, true, false);
</script>
With this script I can toggle hindi and english with pressing F9 button on keyboard. I want to keep a link/button to toggle this... when user clicks on it, language get toggled instead of pressing F9 button