开发者

Custom Textarea for right to left languages

I need a custom text area inside which when the keyboard Enetr key is pressed sould insert new from right to left. and when bac开发者_如何转开发k space is clicked at the beginning of that line shuold remove that line.


Use dir="rtl" in the tag?


You can also use the CSS direction property, direction: rtl;.

After reading your comment to digitalFresh... Here's the solution you're looking for:

<textarea style="text-align: right;"></textarea>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜