Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

change url on keypress within *.aspx page



11:40 pm on Aug 11, 2008 (gmt 0)

5+ Year Member

How can I re-direct a page to a different URL by pressing the enter key in a form's text field on a ASPX page?


6:56 am on Aug 18, 2008 (gmt 0)

5+ Year Member

<form action="#" onsubmit="url = document.getElementById('textField').value;document.location.href=url">

Featured Threads

Hot Threads This Week

Hot Threads This Month