Subject:
|
Re: Search button
|
Newsgroups:
|
lugnet.admin.general
|
Date:
|
Fri, 17 Mar 2000 16:31:37 GMT
|
Viewed:
|
730 times
|
| |
| |
"Todd Lehman" <lehman@javanet.com> wrote in message
news:FrJ8B3.wu@lugnet.com...
> The problem is that the 'Enter' key works correctly in MSIE pages containing
> a single, simple edit-box HTML form, but not in pages containing multiple HTML
> forms, even if those forms are all simply edit boxes. Thus, MSIE actually
> sometimes requires an HTML form to have an actual Submit button.
I understand your frustration, but this isn't strictly true. You can attach
a onkeypress event to the search boxes in IE4 and later (not easily doable
in
NS4, since they are not DOM compliant yet), which and submit the form for
you.
Something like (and this is off the top of my head so it may need syntax
corrections):
<input type="text" onkeypress="this.form.submit();">
I'm not positive what effect (if any) this will have on Netscape Browsers.
You may need to execute it conditionally, depending on the browser type.
|
|
Message has 2 Replies: | | Re: Search button
|
| (...) Yah, M$ has nonstandard bogo-extensions for just about anything. Probably why they put in the bug in the first place... :-/ --Todd (25 years ago, 17-Mar-00, to lugnet.admin.general)
| | | Re: Search button
|
| (...) Actually, I was recently playing with this (using MSIE 5.0, NN 4.05) and I think the results were the same in MSIE and NN: onkeypress: - This performs the function when ANY character is entered, but STOPS the submit if further characters are (...) (25 years ago, 17-Mar-00, to lugnet.admin.general)
|
Message is in Reply To:
| | Search button
|
| Just a quick "heads up" on a slight interface addition -- We need to add a clickable "Search" button next to the newsgroup search boxes at the top of most pages, due to a forms bug in Microsoft Internet Explorer (and possibly other Netscape clones). (...) (25 years ago, 16-Mar-00, to lugnet.admin.general, lugnet.announce)
|
131 Messages in This Thread: (Inline display suppressed due to large size. Click Dots below to view.)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|