homepage Welcome to WebmasterWorld Guest from 184.73.7.143
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library : Charter : Moderators: whoisgregg

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
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved