<input type="text" style="display:none;" onkeyup="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, ''));
}