You are developing a web application that can function when users are not connected to the Internet.
You need to check the Internet connectivity status of a user’s browser.
Which method should you use?

A.
Option A
B.
Option B
C.
Option C
D.
Option D
None of them is correct.
Correct is: navigator.onLine
0
0
Is D
navigator.onLine
http://www.w3schools.com/jsref/prop_nav_online.asp
1
0
The correct answer is D!
navigator.online or navigator.onLine, it’s the same.
0
0
M is right!
0
0
Poorly written question or Microsoft is being very particular with their wording.
JavaScript is case sensitive.
navigator.isOnline = undefined (no such property)
navigator.online = undefined (case is incorrect)
navigator.onLine = true (if indeed it is online)
0
0
navigator.online not mentioned in either ‘exam ref’ or ‘training guide’. therefore it cannot be part of the exam.
0
0
I am agree with M(ans:D)
0
0
Answer D is correct
http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_nav_online
0
0
D is incorrect. navigator.online different from navigator.onLine.
0
0
D is the correct answer
0
0