How to write AND

wxdqz

New Member
I need to have an IF statement check 2 things to see if they are true. I tried using && for the AND conditional, but apparently this is not the way to do it. I've included my code below. Thanks for any help.

if (FrontPage_Form1.Billing_OK.checked == true && FrontPage_From1.billing_agent.value == "")
{
alert("Its TRUE!");
return (false);
}
 
Back
Top