$(document).ready(function() { 
	
	$('.digitonly').keyup(function(e) {
      if(e.which==13) return false;
        c = $(this).val().replace( /[^0-9.,]/g ,'');
	  $(this).val(c);
	});
	
	$('.nronly').keyup(function(e) {
      if(e.which==13) return false;
        c = $(this).val().replace( /[^0-9]/g ,'');
	  $(this).val(c);
	});

});
