I want my textbox to have only floating point value, and filter out any symbols and alphabetical letters, the nearest solution i found is:
jQuery(".sow-items .discovery_repeat input.hours").live("keyup", function(e) {
$(this).val($(this).val().replace(/[^\d]/, ''));
});
but it also filters out decimal point. how to exclude decimal from the above filter or any new suggestions?
Try this: