Possible Duplicate:
jQuery Validate Plugin - How to create a simple, custom rule?
Im using js validate and i was wondering if it was possible to st up your own rules?
I want to check whether a username exists in my db before validating. To do this I need to return true or false from a method in js.
How can I add this in to js validate?