| | |
web address validate in javascript
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
I would use a Regular Expression:
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
function isURL(x) { return REFindNoCase("^(((https?:|ftp:|gopher:)\/\/))[-[:alnum:]\?%,\.\/&##!@:=\+~_]+[A-Za-z0-9\/]$",x) NEQ 0; }
![]() |
Similar Threads
- Dynamic DNS to normal web address (Domains and DNS)
- Wrapping an <a> tag around a web address that's inside a paragraph (PHP)
- How i could have a web address for download music from radio station? (Visual Basic 4 / 5 / 6)
- Web Address For Free Downloading Of Pdf Copy Of A Php Book (PHP)
- Downloading files from web address' (C++)
- Can ping web IP address but cannot get on the Internet (Networking Hardware Configuration)
- websites load slowly without www in the web address (Web Browsers)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Learning JavaScript
- Next Thread: Java Balloon?
| Thread Tools | Search this Thread |
Tag cloud for JavaScript / DHTML / AJAX
ajax ajaxcode ajaxhelp animate api automatically beta boarder box bug calendar card checkbox child class column cookies createrange() css cursor dependent disablefirebug dom download dropdown editor element engine error events explorer ext file firehose flash form forms game google gwt html htmlform ie8 iframe image() images internet java javascript jawascriptruntimeerror jquery jsf jsfile jump math matrixcaptcha microsoft mimic mp3 mysql object offline onmouseoutdivproblem onreadystatechange parent passing pdf php player post problem progressbar rated rating regex runtime scroll search select session shopping size sql star stars stretch text textarea twitter validation w3c web website window windowofwords windowsxp wysiwyg xml xspf \n






