Solved

Setting the Default Coursor Language to Hebrew in Html TEXTAREA

Posted on 2009-04-13
7
674 Views
Last Modified: 2012-05-06
Hi.
1) I have a multi-lang win system EN/HE (English/Hebrew)
which can be changed with Ctrl+Shift or in the Language-Bar.
2) I dynamically create in javascript a window (window.open)
which contains TEXTAREA.
When it opens, the dufault language is always EN.
So I need to change it to HE manually everytime :-(
I could not find a way to change it to be by default in HE.
See also attached gifs.
Thanks, Aryeh.
Default-Eng-TextArea-Cursor.GIF
Heb-TextArea-Cursor.GIF
0
Comment
Question by:tuchfeld
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 24135758
You mean

<textarea lang="he" dir="rtl"></textarea>

?
0
 

Author Comment

by:tuchfeld
ID: 24151953
Thx but No. I should have expected this reply. (I tried it already).
No this does not solve the problem.
The cursor still points to the right direction.
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 24154994
Then I believe you are out of luck.
0
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 

Author Closing Comment

by:tuchfeld
ID: 31569512
I still hope that there is a solution for this issue.
but let's leave it for now...
0
 

Author Comment

by:tuchfeld
ID: 24346869
I think the solution might be based on the following code.
Can someone make it work for me?
Thanks. Aryeh.
<TEXTAREA id="remark" ...>...</TEXTAREA>
 
var rem=document.getElementById(\'remark\');
var evObj = document.createEventObject();
evObj.shiftKey=true;
evObj.altKey=true;
rem.fireEvent("onkeypress", evObj);

Open in new window

0
 

Author Comment

by:tuchfeld
ID: 24347118
hmmm... apparently someone has already referred to this solution and claims it cannot be done :-(
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/Q_21624917.html#a15261264
0
 

Author Comment

by:tuchfeld
ID: 24347166
Anyway, since I'm frequently using Hebrew input, it is a good advice to change the Computer default language to Hebrew (and not English). Aryeh.
set-Hebrew-default-Language.gif
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question