How can we post a complete HTML form in JSON format?( ASP.NET JSON interview questions with answers)
- By Shiv Prasad Koirala in ASP.NET
- Oct 10th, 2013
- 70
- 0
To post a complete HTML form we need to call "serialize" function as shown in the below code. "form1" is a HTML form. The data given by the function can then be passed to the "post" method of Jquery."DisplayData" is a callback function to handle the output given by the server.
var Mydata = $("#form1").serialize();
$.post("/Customer/getCustomer", MyData, DisplayData);
We are thankful to questpond.com to provide this ASP.NET JSON interview question. Do view their 500 interview questions videos.
Shiv Prasad Koirala
Visit us @ www.questpond.com or call us at 022-66752917... read more
- By Shiv Prasad Koirala
- Sep 12th, 2013
- 971
- 0
What is Jquery ? ( ASP.NET Jquery interview questions with answers)
- By Shiv Prasad Koirala
- Jun 20th, 2012
- 456
- 0
C# threading interview questions: - What is the difference between
- By Shiv Prasad Koirala
- Jun 4th, 2012
- 174
- 0

