Functiondojo.formToJson

<script src="../../js/dojo.js"></script>
defined in dojo/_base/xhr.js

return a serialized JSON string from a form node or string ID identifying the form to serialize

Usage

function (/*DOMNode|String*/ formNode, /*Boolean?*/ prettyPrint) (view source)
parametertypedescription
formNodeDOMNode|String 
prettyPrintBooleanOptional.