Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.validator.addMethod(
- "validFacebookUrl",
- function(value, element)
- {
- return this.optional(element) || value == value.match(/^(https?://)?((w{3}.)?)facebook.com/.*/);
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement