Welcome to WebmasterWorld Guest from 184.72.177.182

Forum Moderators: open

Message Too Old, No Replies

change url on keypress within *.aspx page

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

Junior Member

5+ Year Member

joined:Feb 21, 2006
posts: 54
votes: 0


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)

New User

5+ Year Member

joined:Aug 18, 2008
posts:4
votes: 0



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