Prepare for your Next Interview
This is a discussion on website address validation needed within the JavaScript forums, part of the Web Development category; Hi Friends, In my contact us page i am using a mandatory field called website address. I want to check whether the user enter a valid web address or not ...
|
|||
|
website address validation needed
Hi Friends,
In my contact us page i am using a mandatory field called website address. I want to check whether the user enter a valid web address or not at the time of submitting the form. Is anybody have a code for this ? ------------------ suresh |
| Sponsored Links |
|
|||
|
Re: website address validation needed
Hi,
I think the regular expression /^http:\/\/www\.[a-z]+\.(com)|(org)|(edu)|(net)$/; will help u..Jst try this..And u can add more into this acc to ur logic.... |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IP address | timmy | PHP | 4 | 4 Weeks Ago 07:06 AM |
| Credit Card Expiry Date validation for Custom Validator | Gopinath1983 | JavaScript | 1 | 03-01-2007 03:46 AM |
| Cube validation | Lokesh M | Data Warehousing | 0 | 12-14-2006 04:36 AM |
| Website reference needed | norman | Windows | 1 | 09-09-2006 04:22 PM |