On Thu, 2009-11-26 at 02:43 -0800, tanzeem wrote:
> MY html input form has the following layout
> 
> 1.Name in english : [text field]
> 2.Name in malayalam : [text field]
> 3.ID Card Number : [text field]
> 
> The input text field of field 2 should input values in malayalam
> 
> and on focus the keyboard layout should return back to english in the
> next text field
> 
> How do i switch keyboard layouts eeasily using javascript so that i
> can enter data in english and malayalam alternatively

You can use the code given at

 http://www.cse.iitb.ac.in/~siva/indic/

and here is a version optimized for malayalam
http://suruma.freeflux.net//files/indic_support.js


see the comment box
in http://suruma.freeflux.net/blog/archive/2008/12/03/none.html#comments
for example.

I think you can tweak the code so that it switches to malayalam when the
focus is on the required text entry box.


~vimal

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to