Validate URL with Javascript
Following is a simple function to validate a URL with Javascript. It will return the URL if it is valid, otherwise it will return undefined
.
Following is a simple function to validate a URL with Javascript. It will return the URL if it is valid, otherwise it will return undefined
.