dojo clone : clone « Dojo toolkit « JavaScript DHTML






dojo clone

 

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

      var c1 = new dojo.Color([255, 0, 0]);
      alert(c1);
      var c2 = dojo.clone(c1);
      alert(c2);
    </script>
  </head>
  <body></body>
</html>

   
  








Dojo-toolkit.zip( 3,849 k)

Related examples in the same category

1.Clone node