I am looking for a jQuery library to help with handling bidirectionality
Google has one in the closure library, but I feel it is a waste to include all of the library just for bidi input support (unless you recommend me otherwise) http://closure-library.googlecode.com/svn/trunk/closure/goog/demos/bidiinput.html
the google closure library is a seemingly endless collection for files, with many dependencies. I don't see how using it for 1 function is efficient
http://closure-library.googlecode.com/svn/trunk/closure/goog/
update
I found this from a drupal project. I am unable to make it work. Anyone know of it?
update2
it seems that adding "dir=auto
" to the input field handles it.
works in chrome and ff. anyone can confirm this?
dir=auto
should fix it.
it is in the html5 standard, although safari doesn't work with it
http://www.w3.org/International/tutorials/new-bidi-xhtml/qa-html-dir
works with chrome and firefox.
Thanks me :)