homepage Welcome to WebmasterWorld Guest from 54.211.231.221
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
change url on keypress within *.aspx page
rcshield




msg:3720720
 11:40 pm on Aug 11, 2008 (gmt 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?

 

bollysite




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


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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved