Frank Code

Description

Flashcards on Frank Code, created by John Ratzinger on 27/04/2019.
John Ratzinger
Flashcards by John Ratzinger, updated more than 1 year ago
John Ratzinger
Created by John Ratzinger over 5 years ago
10
1

Resource summary

Question Answer
PHP: correct code example
AJAX asynchronous code
AJAX: synchronous code:
various stages of a TCP connection is shown by... onreadystatechange
AJAX: readystate does not test success or failure status must be tested after readystate:
Add code to implement the the following three messages (AJAX): 1.Loading, please wait 2.Successfully loaded 3.Error trying to fetch
By putting the status into its own IF block on the line after the readyState check, then this ensures this check has completed before check on Status
short JSON example
modules JSON example prerequisites must be an array semesters can be an integer with 3 permissible values.
AJAX jQuery .click & .load example
AJAX “Request failed” message
AJAX “Awaiting response. . .” message
AJAX “Request complete” message
{ ”title”: ”Home”, ”abstract”: ”Welcome to XYZ”, ”main-content”: ”some more text” } .getJSON for for above JSON data:
Write the relevant JavaScript/jQuery code to extract the maximum marks:
Add code to implement the the following three messages (jQUERY): 1.Loading, please wait 2.Successfully loaded 3.Error trying to fetch
.load() method (with ASO):
.load() method (without ASO): $("#main").load(url);
jQuery “Please wait” message
Show full summary Hide full summary

Similar

Product Design
cmbj
Spanish Vocabulary- Beginner
ThomasK
THE CASES - GERMAN
Holly Miles
A Level Chemistry Unit 1 - Organic Chemistry
charlottehyde
Metal Oxides, Metal Hydroxides & Ammonia
Tom Johnson
GCSE French - Parts of the Body
Abby B
GCSE English Foundation exam
s.enright
CUBAN MISSILE CRISIS
Olivia Andrews
Contract Law
sherhui94
Social Influence
olimcconnell
Computer Science
Alex Rollin