Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: Old Pedant
Forum: Javascript How-To September 18th, 2008, 02:48 PM
Replies: 4
Views: 5,820
Posted By Old Pedant
So simply invoke the blur function from the enter...

So simply invoke the blur function from the enter key code.

<input name="t1" onBlur="this.form.copy.value += this.value;"
onKeyDown="if ( window.event.keyCode == 13 ) this.blur();">

Haven't...
Forum: Javascript How-To September 17th, 2008, 01:46 PM
Replies: 4
Views: 5,820
Posted By Old Pedant
You are probably correct; you are getting called...

You are probably correct; you are getting called both by the Enter key and the onblur.

Okay, so why not simply have the Enter key move the focus to the next form field, which will of course cause...
Showing results 1 to 2 of 2

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.