How do you write AND on an if condition in javascript? I want to have this code but it produces an error.
if(xmlDoc.selectSingleNode("//RentersInsuranceSetting/Row").getAttribute("ExcludeCorporateUnits")==1) AND (xmlDoc.selectSingleNode("//AllPeople/Row").getAttribute("BusinessCorporationBit")==1)
{
confirmValidRentersInsurance.required = "noReq"
confirmValidRentersInsurance.style.color = "blue"
insuranceRequired = false
}
what is the operator for AND in javascript?