DRAG DROP
You are creating a function named getText().
The function must retrieve information from text files that are stored on a web server.
You need to develop the function to meet the requirement.
Which code segment or segments should you use? (To answer, drag the appropriate command from
the list of commands to the correct location or locations in the work area. Each code segment may
be used once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content.)
Which code segment or segments should you use?
DRAG DROP
You are creating a function named getText().
The function must retrieve information from text files that are stored on a web server.
You need to develop the function to meet the requirement.
Which code segment or segments should you use? (To answer, drag the appropriate command from
the list of commands to the correct location or locations in the work area. Each code segment may
be used once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content.)
This answer is at least technically wrong because there is a mismatch between the number of opening and closing curly braces.
why can’t be navigator.goelocation.getCurrentPosition(locSuccess, locFail); ?
getCurrentPosition is method for getting user’s position too.
what is the difference between getCurrentPosition and watchPosition?
“As the user moves, the application must update the screen with the new location.” — getCurrentPosition does not continuously monitor the location, whereas watchPosition does.
thanks 🙂
This example:
http://www.w3schools.com/xml/dom_httprequest.asp
Damien is right
Thank you Sandra for the link, the answer is correct