Gossamer Forum
Home : General : Perl Programming :

Re: [DogTags] Multiple OnClick events

Quote Reply
Re: [DogTags] Multiple OnClick events In reply to
Think of this as a perl function:

Onclick="return this.value='Please Wait...';ValidateAll2()">

which translates to:

Code:
sub OnClick {
return this.value="Please Wait...";
ValidateAll2();
}
See why ValidateAll2 will never be run? ;)

Try:

onclick="this.value='Please Wait...'; return ValidateAll2();"

Cheers,

Alex
--
Gossamer Threads Inc.
Subject Author Views Date
Thread Multiple OnClick events DogTags 10971 Sep 20, 2001, 10:06 AM
Post Re: [DogTags] Multiple OnClick events
Paul 10802 Sep 20, 2001, 10:08 AM
Thread Re: [DogTags] Multiple OnClick events
Watts 10910 Sep 20, 2001, 12:22 PM
Thread Re: [Watts] Multiple OnClick events
DogTags 10843 Sep 20, 2001, 1:54 PM
Thread Re: [DogTags] Multiple OnClick events
Paul 10879 Sep 20, 2001, 2:01 PM
Thread Re: [RedRum] Multiple OnClick events
brewt 10840 Sep 20, 2001, 4:48 PM
Thread Re: [brewt] Multiple OnClick events
AstroBoy 10838 Sep 20, 2001, 6:19 PM
Thread Re: [AstroBoy] Multiple OnClick events
DogTags 10793 Sep 20, 2001, 9:13 PM
Thread Re: [DogTags] Multiple OnClick events
Alex 10873 Sep 20, 2001, 11:29 PM
Post Re: [Alex] Multiple OnClick events
Watts 10808 Sep 21, 2001, 10:35 AM
Post Re: [Alex] Multiple OnClick events
DogTags 10771 Sep 25, 2001, 10:35 PM
Post Re: [AstroBoy] Multiple OnClick events
Matt G 10776 Sep 20, 2001, 9:17 PM