Make tag selectable : setSelectable « 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>
  </head>
  <body onLoad="dojo.setSelectable('myDiv', true);">
    <div id="myDiv">I am myDiv</div>
  </body>
</html>








29.26.setSelectable
29.26.1.Make tag not selectable
29.26.2.Make tag selectable