<input type="text" style="display:none;" οnkeyup="this.value = this.value.replace(/[^\\-?\\d.]/g, \'\')" onafterpaste="this.value = this.value.replace(/[^\\-?\\d.]/g, \'\')"/>
function filterCurrtQuantity(obj) {
$(obj).val($(obj).val().replace(/[^\d]/g, ''));
}