Avatar of Whing Dela Cruz
Whing Dela Cruz
Flag for Anguilla asked on

Html using "Or" in condition

Hi experts, how can I correct code below, i want to use "Or" in a condition.

if (fname=="" Or lname=="" Or Age=="")
  {
  alert("something is lacking!")
  return false;
  }
HTMLJavaScript

Avatar of undefined
Last Comment
Whing Dela Cruz

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
HainKurt

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Nitin Sontakke

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Whing Dela Cruz

ASKER
Thanks both of you guys!
Your help has saved me hundreds of hours of internet surfing.
fblack61