I'm using jQuery validate plugin and I need to validate price (ie. digits and one dot). I tried to add digits: true and the form accepts only numbers, but I don't know how to do the same thing with a dot.
$('#form').validate({ 
    rules: {
        buy_1: {  
            required: true,
            digits: true
        }
I already try it without success how to validate for money in jquery
 
    