Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fill another field, Javascript



It won't work for cut/copy/paste via mouse or menus and will mess with
autocomplete in some browsers.


On 03/04/2008, Paul Erskine <email@hidden> wrote:
> You might get in trouble with the double-quotes within double-quotes... you
> might have to use single-quotes for either one or the other:
>
> onkeyup="document.getElementById('field2').value =
> this.value"
>
>
>
> On Thu, Apr 3, 2008 at 2:53 PM, Lee Hinde <email@hidden> wrote:
> >
> >
> > On Apr 3, 2008, at 2:36 PM, Ben wrote:
> >
> > > add  to field1:
> > >
> > > onkeyup="document.getElementById("field1").value =
> this.value"
> > >
> >
> >
> > You mean
> >
> >
> > > onkeyup="document.getElementById("field2").value =
> this.value"
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden

References: 
 >Fill another field, Javascript (From: Robert Poland <email@hidden>)
 >Re: Fill another field, Javascript (From: Ben <email@hidden>)
 >Re: Fill another field, Javascript (From: Lee Hinde <email@hidden>)
 >Re: Fill another field, Javascript (From: "Paul Erskine" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.