Basic JavaScript Question:

Download Job Interview Questions and Answers PDF

Methods GET and POST in HTML forms - what's the difference?

JavaScript Interview Question
JavaScript Interview Question

Answer:

GET: Parameters are passed in the query string. Maximum amount of data that can be sent via the GET method is limited to about 2kb.

POST: Parameters are passed in the request body. There is no limit to the amount of data that can be transferred using POST. However, there are limits on the maximum amount of data that can be transferred in one name/value pair.

Download JavaScript Interview Questions And Answers PDF

Previous QuestionNext Question
What is the data type of variables of in JavaScript? How to write a script for "Select" lists using JavaScript?