hi
I use below code to type number in persian in textbox:
$(function () {
$('[id*=TxtPM]').keyup(function (e) {
var ctrlKey = 67, vKey = 86;
if (e.keyCode != ctrlKey && e.keyCode != vKey) {
$('[id*=TxtPM]').val(toPersianNumber($(this).val()));
}
});
});
and use below code to use seprator for this textbox:
<script type="text/javascript">
$(function () {
$('#TxtPM').priceFormat({
prefix: '',
thousandsSeparator: ',',
centsSeparator: ',',
limit: 12,
centsLimit: 0
});
});
</script>
problem is that when I use these code together it doesn't work I mean when I want type number into textbox it doesn't allow me to enter any number into textbox...
best regards
neda