How do give an alert depending on Two Statements?

P

paul dallaire

HI! I am a beginner at this so here we go.

I want to know how to check to see if two vars have a certain condition then
I will give an alert.

Example---

var x1Window=true;
var isn4ot=false;

if (x1Window==false) AND (isn4ot==true)
alert("hello");


I just need to know how to concatenate the two as I use the word AND instead
of the actually statement needed.

Paul
 
J

Jens Peter Karlsen[FP-MVP]

if(x1Window==false && isn4ot==true) alert("hello");

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: paul dallaire [mailto:p[email protected]]
Posted At: 21. juni 2005 07:34
Posted To: microsoft.public.frontpage.programming
Conversation: How do give an alert depending on Two Statements?
Subject: How do give an alert depending on Two Statements?


HI! I am a beginner at this so here we go.

I want to know how to check to see if two vars have a certain condition
then I will give an alert.

Example---

var x1Window=true;
var isn4ot=false;

if (x1Window==false) AND (isn4ot==true) alert("hello");


I just need to know how to concatenate the two as I use the word AND
instead of the actually statement needed.

Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top