Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Any HTML experts?
- Date: Mon, 08 Jan 2007 02:18:50 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: [tlug] Any HTML experts?
- References: <200701070229.l072TBDE015163@example.com>
Jim Breen writes: > In HTML forms, is there any way to stop the pressing of the Enter > key after putting in text in a <input type="text" .... > box from > sending in the whole form? The HTML spec says nothing about this. Ie, it's a user-agent thing, AFAICS. (I've always hated that behavior.) > There's probably a Javascript solution, but I'd prefer a vanilla > HTML one. In this case use of a script looks like the most portable solution. You can use the NOSCRIPT element and some CSS wizardry to present either an input type="text" or a textarea in cases where scripts are disabled. Or if you don't trust the browsers to implement CSS or expect users to override it, a more complex script should be feasible.
- References:
- [tlug] Any HTML experts?
- From: Jim Breen
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] linux in Japanese schools
- Next by Date: Re: [tlug] RE: Shuttleworth Interview at Red Herring (Roger Markus)
- Previous by thread: Re: [tlug] Any HTML experts?
- Next by thread: Re: [tlug] Any HTML experts?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links