wow thanks it really worked now
the element param is kind of useless right? i wonder why it doesn't
work :)
anyway huge thanks to Jules
On Jul 23, 12:05 pm, Jules wrote:
> Your code should have been:
>
> $.validator.addMethod('myEqual', function (value, element, param)
> {
> retu
Your code should have been:
$.validator.addMethod('myEqual', function (value, element, param)
{
return value >= $(param).val(); // this works know
}, 'Please enter a greater year!');
On Jul 23, 12:21 pm, Erwin Purnomo wrote:
> Hello all
>
> I have added a method on jQuery
2 matches
Mail list logo