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?

Bhushan BhasmeRank #2,348 · 604 reputationPosted Jun 25, 2015, 3:34 AM EDT
My First JavaScript
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Jun 26, 2015, 12:58 AM EDT
My First JavaScript
Bhushan BhasmeRank #2,348 · 604 reputationPosted Jun 26, 2015, 12:50 AM EDT
Davin MartynRank #285 · 8.8K reputationPosted Jun 28, 2015, 9:13 PM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Jun 28, 2015, 9:21 PM EDT
My First JavaScript
Davin MartynRank #285 · 8.8K reputationPosted Jun 28, 2015, 10:42 PM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Jun 28, 2015, 10:54 PM EDT