I am working on an Asp.net page and have fields that aren’t organized inside a form. Are there libraries that make it easier to serialize values to JSON elements that aren’t in forms to a web method?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
you might search for all inputs on the page or div and serialize them
using jquery :
and then convert to json array using for example
http://code.google.com/p/jquery-json/
by adding before