Validate plugin - can it not say localhost is invalid

Validate plugin - can it not say localhost is invalid

Hi

Using the Validate plugin I find that it regards urls like this one:

http://lcoalhost/test

as invalid with the url() method. (Try this by going to this page: http://docs.jquery.com/Plugins/Validation/Methods/url and entering it).

Is there a way of telling validate that localhost is ok?

Otherwise I have to remember to take out my hack when the code goes live...

(Ok. I could bypass the validation if window.location tells me I'm on localhost, but just wondering if there is another way)

Kropotkin