Well, now I see that the source for the Autocompleter is posted -- it hadn't been included in the zip download for the last few days so I was flying blind. The 'protect' method of the iAuto object looks like it handles the enter key press, but now I can't seem to get the plugin to work at all. Has anyone else been successful with the build that was posted yesterday? I'm using jQuery 1.0.1, but a quick test with 1.0.2 didn't have any effect either.
m. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Grimm Sent: Wednesday, October 11, 2006 10:18 PM To: jQuery Discussion. Subject: [jQuery] Hitting enter in Interface's Autocompleter suggestion box Is it currently possible for the Interface plugin's Autocompleter to trap "enter" key presses so that the highlighted suggestion is selected per usual but then the form is not submitted? Without using autofill, it appears that there are two ways to select a suggestion -- clicking with the mouse and pressing the enter key. Unfortunately, in the latter situation, the browser only knows that a text input is focused and the enter key was pressed, so the form gets submitted. I know how to trap for the enter key separately, but I was hoping I could utilize some feature of the Autocomplete plugin that was already built. Thanks. m. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/ _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
