![]() |
Need help with URL validation script.
Please see the URL validation JavaScript below. You can see it in action here. It works fine but I'd like some changes in it.
1. http:// must be checked for presence. (Currently its invalid format is accepted like tp://) 2. I want the top level domain in the URL to be something valid like only .com, .co.in, .biz, .info, .org, .us, .in etc. should be allowed. (Currently even .xyz is accepted) 3. I don't want to allow inside URL's like http://www.domain.com/sub/test.html. Only domains and sub-domains should be allowed exactly like http://www.domain.com and http://www.home.domain.com (Currently it allows inside URL's) Code:
<head> |
still waiting !!
or if someone can help me provide a URL validation script that does not uses onsubmit attribute of form tag. |
All times are GMT. The time now is 01:35 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|