You are here: Re: Advanced HTML DOM Issue « HTML « IT news, forums, messages
Re: Advanced HTML DOM Issue

Posted by Jonathan N. Little on 11/27/43 11:57

Don't TOP POST

Whit wrote:
> I don't want to use onchange, because the user needs to see that the
> changes are legit before submitting. With onchange the submit button
> could be pressed before the swap occurs.

Well since you are using client-side I would expect you would run a
validation onsubmit for the form! Also regardless of what you do
client-side the receiving server-side should also validate (an possibly
reformat the string as well) You should not be relying on JavaScript
here, it can and will be disabled for some of your visitors. Use
JavaScript to augment only

>
> I have a button that allows them to turn this auto-formatting off, but
> it really needs to occur in place. If they are frustrated, they can
> kill it.
>

Even more reason not to do it on the keypress.


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this 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

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