Davin Martyn

Davin Martyn

  • NA
  • 8.7k
  • 3m

Validate two value in javascript

Jun 25 2015 7:02 AM
Hi,
 
 I have two variable x and y and value is x=10 and y =20;
I want to validate with prompt in javascript please describe how can do it.
 
2- Condition if x is null or blank then prompt box  y= 20 shows
if x and y both are null then move to main page? 

Answers (7)