I have a textbox which accepts numeric values, i want the cursor to be moved on the right end side when user focus on the textbox or types anything in it.
HTML Markup
<input type="text" class="numericBox" tabindex="0" value="0.00">
CSS
.numericBox{
text-align:right;
}
I have tried direction:rtl
property of CSS, but i think it's not for the same. Any suggestion with jQuery or pure CSS/CSS3 will be apreciated.
Thank You.