[thelist] javascript and IDs

Anthony Ettinger apwebdesign at yahoo.com
Tue Oct 4 16:29:55 CDT 2005



--- Scott Wehrenberg <swehren at gmail.com> wrote:

> On 10/4/05, Joshua Olson <joshua at waetech.com> wrote:
> > Since you are already duct taping this thing
> together, I'd be inclined to
> > give the input fields a neutral name and then name
> hidden fields what the
> > forms expect.  Rather than change the name on the
> fly, copy the values of
> > the input fields to the hidden fields upon submit.
> 
> Even better in my opinion, if it's possible in you
> situation, is to
> handle it server side. Just check the state of the
> radio button and
> redirect them to wherever they shoudl go. That way
> it'll work even if
> they don't have JS.

Yes, I told them this. But they don't always
understand right from wrong :-)

Can I? Yes.
Should I? No.

Who's decision is it :-)


Anthony Ettinger
ph: (408) 656-2473
blog: http://www.chovy.com


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


More information about the thelist mailing list