taken fees not greter than original fees issue
<script type="text/javascript">
$.validator.addMethod('ge', function(value, element, param) {
return this.optional(element) || value <= $(param).val();
}, 'Invalid value');
$("#fees_validate").validate(
{
errorElement: "span",
rules:
{
taken_fees:
{
required: true,
ge: '#fees'
}
},
messages:
{
taken_fees:
{
required: "Required",
ge: 'You can not take advance fees'
}
},
} );
</script>