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

Posted by Whit on 11/25/14 11:57

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.

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.

-- whit

Jonathan N. Little wrote:
> Whit wrote:
> > I'm sorry, I wasn't explicit enough, I meant to say capitalize the
> > first letter of each word. Meaning I have to read the whole string, cap
> > the first letter of words and un-cap the rest, then re-assign it ... I
> > have already written the function for this. But re-assignment of the
> > whole string causes the field to forget where the cursor is ...
>
> Simple too, don't over-manage, process on the 'onchange' and not
> 'onkeyup' and your problem will be solved and you will not frustrate
> your visitors.
>
> --
> 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

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