View Single Post
08-11-2007, 03:09 AM
#23
Choco is offline Choco
Status: Member
Join date: Jul 2007
Location: USA
Expertise:
Software:
 
Posts: 240
iTrader: 2 / 100%
 

Choco is on a distinguished road

Send a message via MSN to Choco

  Old

Originally Posted by Village Idiot View Post
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