jquery validation negative number code example
Example: jquery validation prevent negative number
$("#formid").validate({
rules: {
fieldname: {
min: 1
},
messages: {
fieldname: {
min: "Value must be greater than 0"
}
}
});