I have an input box , i want that when i click or focus on that , a rupee icon should already be there .currently when i click it shows the code as text . please help ....
$("input.amt").focus(function(){
var rs = "₹";
$(this).val(rs);
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<input type='text' readonly name='amount' class='amt' value='' />