470,849 Members | 1,634 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

Bringing foreign letters to textarea

I like to make foreign letters to appear in the textarea. For
instance, when typing the letter 'a' on the keyboard, the Japanese
letter &#+12449; would appear in the textarea.

Could somebody insert a simple code in following program? I will
follow suit from there.

<style>
body { font-family:arial;}
textarea { font-family:"lucida sans unicode"; }
</style>
</head>

<body>
Type in following area:
<form name='myform'>
<textarea name='mytext' rows='15' cols='60'>

</textarea>
</form>
</body>

The form is in:
www.pinyinology.com/keys/aform.html

Thanks.

Aug 27 '05 #1
1 1797
dalei wrote:
I like to make foreign letters to appear in the textarea. For
instance, when typing the letter 'a' on the keyboard, the Japanese
letter &#+12449; would appear in the textarea.

Could somebody insert a simple code in following program? I will
follow suit from there.


The scripting part is relatively simple, it probably requires a 'keyup'
event to re-map characters. To get the information you require, ask
this in an HTML forum to find out about displaying characters in a
textarea element.

You are probably better changing your subject to 'Writing Japanese
characters in a textarea', since the concept of 'foreign letters' has no
useful meaning in this context.

[...]
--
Rob
Aug 28 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by dalei | last post: by
2 posts views Thread by Calvin Lai | last post: by
6 posts views Thread by Jerome | last post: by
1 post views Thread by Trond Engebråten | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.