Answers for "how to ask a yes or no question on with java script"

0

how to take yes or no in js

ans = confirm('continue ?');
//returns a boolean response
if (ans){
	//condition returns true...
}
else(){
	//condition returns false...
}
Posted by: Guest on April-19-2021

Code answers related to "how to ask a yes or no question on with java script"

Code answers related to "Javascript"

Browse Popular Code Answers by Language