Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
JavaScript
<input type="number" readonly="true" class="clmexpchqinput" name="txtamt" id="txttotamt" style="padding:5px 0px 0px;margin:2px 10px 0px;border:1px solid;"/>


its the input tag for textbox,but my requirement is how to set $ as a fix symbol in the textbox ,so every time when user gives input it will show '$text'.
Posted
Comments
Sergey Alexandrovich Kryukov 23-Jul-14 11:04am    
OP did not see how can it help (please see the comment below). Indeed, not very clear. I suggested to find out appropriate masked text box.
—SA
Pravuprasad 23-Jul-14 9:28am    
sorry but,i am not getting the solution here.

1 solution

Just one idea: http://bit.ly/1obBNUp[^].

—SA
 
Share this answer
 
Comments
Maciej Los 23-Jul-14 11:03am    
I like it!
+5!
Sergey Alexandrovich Kryukov 23-Jul-14 11:08am    
Thank you, Maciej.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900