jQuery BiDirection Changer (aka jQuery BiDi) is a lightweight and easy-to-use jQuery plugin which lets you routinely swap the path of HTML components between RTL/LTR when it’s wanted.
It helps all RTL languages e. g. Arabic, Farsi and Hebrew, alongside all LTR languages.
For instance, In case you use Fb, you possibly can see the path of submit space is modified routinely once you sort in one in all RTL languages. This plugin implements roughly the identical algorithm to your webpage!
You need to use the demo web page to checkout its options.