Reply to Re: Stopping 'Submit' by Return Key

Your name:

Reply:


Posted by Michael Winter on 12/11/05 01:47

On 10/12/2005 21:02, Ed Jay wrote:

[snip]

> I found the following script...
>
> var isNS =document.appName=="Netscape"?true:false;
> var isIE =document.all?true:false;

If you find other scripts that attempt to perform browser detection,
move right along to the next one. Browser detection is unreliable, and
any code that seems to depend on it is almost certainly badly written
and should be avoided.

As for your 'issue', take Jonathan's other suggestion: enforce
completion if necessary with required fields. Users will /want/ to
submit a form just by pressing <Enter> (I certainly do it all the time),
and will think that something's wrong if nothing happens.

[snip]

Mike

--
Michael Winter
Prefix subject with [News] before replying by e-mail.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация