I'm assuming you're using the example that sends the information in textboxes to the server?
The getRequestBody() function was only written to deal with textboxes, not checkboxes. You'll have to modify it for use with checkboxes. What you should do is check to see if the input type is checkbox, then check to see if it's checked. Only if the checkbox is checked should the value be sent.
Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/