jQuery BiDirection Changer (aka jQuery BiDi) is a light and easy-to-use jQuery plugin which allows you to automatically switch the direction of HTML elements between RTL/LTR when it is needed.
It supports all RTL languages e. g. Arabic, Farsi and Hebrew, alongside all LTR languages.
For example, If you use Facebook, you can see the direction of post area is changed automatically when you type in one of RTL languages. This plugin implements approximately the same algorithm for your webpage!
You can use the demo page to checkout its features.
orginal product link