I recommend to use the url method, than add a custom method
(http://docs.jquery.com/Plugins/Validation/Validator/addMethod) that
checks your requirement. That way your method can rely on a valid URL.

Jörn

On Wed, Aug 5, 2009 at 6:18 AM, Fong<f...@weblite.ca> wrote:
>
> Hi all,
>
> This post is in regards to the jQuery plugin for validation.  I am
> using the url method to get validation text fields which I want to
> have a url.  But I want a slight modification where I only want to the
> base directory of a site and not an individual page.  For example, I
> want http://www.example.com and not something like 
> http://www.example.com/index.html.
>
> Is there anyway to utilize the url method to do this for me?
>
> Thanks,
>

Reply via email to