Plugin is no longer maintined, please use HTML <input type="number" />
instead
A jQuery plugin allows only numerics in HTML inputs. It has option for allowing negative and decimal also. On wrong input display popup tip.
<script type="text/javascript">
$(document).ready(function(){
$('#element').numbOnly(options);
});
</script>
'align' : 'left'/'right'
Text alignment in input. Default: 'right'
'negative' : boolean
Allow one minus(-) sign in input. Default : False
'decimal' : boolean
Allow decimal(.) once in input. Default : True
'showTip' : boolean
Show tip message on wrong input. Default : True
'message' : '<Custom message to display in tip>'