PDA

View Full Version : Text field



SteveJo
20 Oct 2010, 10:48 AM
Hello,

I'm trying to create a text field on my site, and I want that when a user enter his zip code, and then press enter, he will be directed to another website.

But it's doesn't work:

<input type="text" name="zipcode" value="Enter your Zip Code" id="zip" maxlength="20" onclick="window.location.href='http://second.site.com'">


Thanks
Steve