Login Register

dynamically create dijit

dijit.InLineEditBox is not a constructor

I am trying to dynamically create an InLineEditBox within an

  • tag, but I keep getting the error "dijit.InLineEditBox is not a constructor". I am using Dojo 1.0 and testing using FF2. I have declared the InLineEditBox:

    dojo.require("dijit.InlineEditBox");

    When a button is clicked, the addBullet() function is called:

    Add Bullet

    The function itself is contained in a separate .js file. I haven't had problems with the other Dojo functions that I created within the file.

  • Syndicate content