Convert array to query string : objectToQuery « Dojo toolkit « JavaScript Tutorial






<html>
  <head>
    <script type="text/javascript">
      var djConfig = {
        baseScriptUri : "js/dojo/"
      };
    </script>
    <script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>
    <script language="JavaScript" type="text/javascript">

      alert(dojo.objectToQuery( {
        c1 : "A",
        c2 : "B",
        c3 : "C"
      } ));

    </script>

  </head>

  <body></body>

</html>








29.42.objectToQuery
29.42.1.Convert array to query string