Re: Advanced HTML DOM Issue
- From: "Jonathan N. Little" <lws4art@xxxxxxxxxxxxx>
- Date: Tue, 05 Sep 2006 13:05:43 -0400
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
.
- References:
- Advanced HTML DOM Issue
- From: Whit
- Re: Advanced HTML DOM Issue
- From: BootNic
- Re: Advanced HTML DOM Issue
- From: Whit
- Re: Advanced HTML DOM Issue
- From: Jonathan N. Little
- Re: Advanced HTML DOM Issue
- From: Whit
- Advanced HTML DOM Issue
- Prev by Date: Re: Detecting if browser has installed .NET Framework 2.0
- Next by Date: Re: Detecting if browser has installed .NET Framework 2.0
- Previous by thread: Re: Advanced HTML DOM Issue
- Next by thread: Re: Advanced HTML DOM Issue
- Index(es):