Make tag selectable : setSelectable « Dojo toolkit « JavaScript DHTML






Make tag selectable

 

<html>
  <head>
    <script type="text/javascript">
      var djConfig = {
        baseScriptUri : "js/dojo/"
      };
    </script>
    <script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>
  </head>
  <body onLoad="dojo.setSelectable('myDiv', true);">
    <div id="myDiv">I am myDiv</div>
  </body>
</html>

   
  








Dojo-toolkit.zip( 3,849 k)

Related examples in the same category

1.Make tag not selectable