|
-
Jun 11th, 2002, 03:57 PM
#1
Thread Starter
Fanatic Member
Compare numbers using javascript
Using Javascript how can I write this:
if Time1 > 0 and Time2 = 0 then
msgbox
-
Jun 11th, 2002, 04:15 PM
#2
Frenzied Member
Code:
if (Time1 > 0 && Time2 == 0 ) {
alert("Foo");
}
I think. I could be wrong. Double check the doco listed in the sig below.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|