Two inline editors : InlineEditBox « Dojo toolkit « JavaScript DHTML






Two inline editors

 
<html>
  <head>
    <link rel="StyleSheet" type="text/css" href="js/dojo/dijit/themes/tundra/tundra.css">
    <script type="text/javascript">
      var djConfig = {
        baseScriptUri : "js/dojo/",
        parseOnLoad : true
      };
    </script>
    <script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>
    <script>
            dojo.require("dojo.parser");
            dojo.require("dijit.form.Textarea");
            dojo.require("dijit.InlineEditBox");
            
          
    </script>
  </head>
  <body class="tundra">
    <span dojoType="dijit.InlineEditBox" autoSave="false" editor="dijit.form.TextBox">Click to edit</span>:
    <span dojoType="dijit.InlineEditBox" autosave="false" editor="dijit.form.TextBox">Click to edit</span>
        

  </body>
</html>

   
  








Dojo-toolkit.zip( 3,849 k)

Related examples in the same category

1.Create inline text editor(dijit.InlineEditBox)
2.Inline text box
3.HTML tags inline editing