writing reverse in the textbox

I want to input in a text box in reverse order Like a Urdu language.Is any input
property to do it or any code? direction:rtl; only start from end but the input text is at it is.It does'nt reverse
looking in the textbox.

1 Answer

Just use simple CSS

input[type=text] { text-align: right;
}

Demo

Updated:

input[type=text] { direction: rtl; unicode-bidi: bidi-override;
}
4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like