Hello, I'm new to dojo. About two weeks into it.
I'm having a problem using dojo.InLineEditBox with dojo.xhrPost. I'm using xhrPost to call a PHP page to save data. I made a very simple test.
Hello, I'm new to dojo. About two weeks into it.
I'm having a problem using dojo.InLineEditBox with dojo.xhrPost. I'm using xhrPost to call a PHP page to save data. I made a very simple test.
Hi all,
I am new to DOJO and DIJIT.
I want to use dojo toolkit.
but it confused me to getting start.
actually i downloaded dojo-release-1.2.3.zip and extracted in to c:\tools
after that i opened a html in C:\tools\dojo-release-1.2.3\dijit\themes\themeTester.html to test whether dojo is woking or not.
it didn't work and it gives error in both IE and mozilla firefox
after that i downloaded dojo-release-1.2.0b1-src.tar and extracted in to c:\tools
and opened C:\tools\dojo-release-1.2.0b1-src\dijit\themes\themeTester.html
Hi. I'm adding an inline edit box programatically and it all works fine... until i try to drag the node in which the edit box exists. Error on drag is:
[Exception... "'Error: Tried to register widget with id==favorites_title_136 but that id is already registered' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "" data: no]
here's the code for adding the inlineEditBox
var titleDiv = document.createElement("div");
dojo.addClass(titleDiv, "objTitle");
I have the following function to try to get the value of the selected portion of text from inside an active/focused InlineEditBox:
function getSelectedText(lineid) {
var e = dijit.byId(lineid);
if (e.selectionStart != undefined && e.selectionEnd != undefined) {
var start = e.selectionStart;
var end = e.selectionEnd;
var val = e.value.substring(start, end);
}
}Hi,
I'm using Dojo 1.1.1. Clicking on the InlineEditBox created by the snippet below causes Firebug to emit 'ew.focusNode is undefined'.
According to the docs, this is supported. Anyone know the answer?
Thanks!
Greg
I am trying to dynamically create an InLineEditBox within an
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.
I'm creating a bunch of dijit.InlineEditBoxes programmatically, and having some trouble with the onChange event. While if you create the editboxes statically, you can set a complex onChange function, ie
Edit me
when creating them programmatically, it seems that the onChange has to be a pointer to a function, and only passes the new value of the editbox; ie
var inlineEdit = new dijit.InlineEditBox({
autoSave:true,