0
how can an alert (prompt etc) return true/false? doesn't it merely display? This is related to the last quiz; chapter 7.
alerts, prompts, and booleans
2 Antworten
+ 1
rubbish question
0
What if you wanted to see if someone clicked ok or cancel on that prompt?
You would then check to see if the ok button returned true. If it did return true, then the cancel button must be false. You see where I am going with this?