Solved

Setting the Default Coursor Language to Hebrew in Html TEXTAREA

Posted on 2009-04-13
7
641 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
  • 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

932 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now