You can try this solution from here
Example http://jsfiddle.net/0w5rydrL/1/
The html
<div class="text_direction" dir="rtl">
<input type="text" onkeyup="rtl(this);" />
</div>
The javascript function
function rtl(element){
if(element.setSelectionRange){
element.setSelectionRange(0,0);
}
}