Originally Posted by Village Idiot
I know, I have taken the time to find that url validatior I have sitting around my computer yet.
|
As for submitting without JS, just set the action of the form to the PHP page that shortens the URL. Then, in the onsubmit handler of the form, put 'return false'. The onsubmit handler will only fire in a javascript-enabled browser, meaning it'll run AJAX with JS and submit the form normally without.
Nice job so far though