1.

What would happen if the data in the client had been wrong?(a) Sends back the data(b) Waits for correction(c) Sends back the data and Waits for correction(d) Returns the data instantlyI got this question in an interview for internship.This interesting question is from Validation topic in chapter Caching, Debugging and Animation of JavaScript

Answer»

The CORRECT choice is (C) Sends back the data and Waits for correction

To explain I would say: The only way to obtain data is from the server SIDE which is used to perform further operations on the data. If some of the data that had been entered by the CLIENT had been in the wrong form or was simply MISSING, the server would have to send all the data back to the client and request that the form is resubmitted with correct information.



Discussion

No Comment Found

Related InterviewSolutions