Solved

Setting the Default Coursor Language to Hebrew in Html TEXTAREA

Posted on 2009-04-13
7
637 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

747 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

7 Experts available now in Live!

Get 1:1 Help Now