cursor position not appreas in text input?
In my asp.net MVC app, I'm using a HTML text input, while I apply a style to format currecy value and I want it to RIGHT align so that I also apply style.

But the cursor is not apprer in text box? What is the possible reason and please provide the solution?

**HTML**

    <input type="text" class="OnlyMoney" />

**Script**

    $(document).ready(function () {
           $("input[type=text].OnlyMoney").live('keydown', currenciesOnly)
               .live('blur',
               function() { $(this).formatCurrency(); });

       });

**CSS**

    .OnlyMoney { text-align: right; }

**Note:** If I change above style "text-align: left" then cursor is visible in text box.
cursor position not appreas in text input?
===

In my asp.net MVC app, I'm using a HTML text input, while I apply a style to format currecy value and I want it to RIGHT align so that I also apply style.

But the cursor is not apprer in text box? What is the possible reason and please provide the solution?

**HTML**

    <input type="text" class="OnlyMoney" />

**Script**

    $(document).ready(function () {
           $("input[type=text].OnlyMoney").live('keydown', currenciesOnly)
               .live('blur',
               function() { $(this).formatCurrency(); });

       });

**CSS**

    .OnlyMoney { text-align: right; }

**Note:** If I change above style "text-align: left" then cursor is visible in text box.