Login Register

dojo.connect dojo.event event propagation

best way to remap enter keypress to tab?

I'm trying to set up a copy of a MS Access application an employee at my company uses. Unlike the standard tab between fields, and enter to submit the form process, this screen, as programmed in Access Basic uses the enter key to go between fields, until the focus is over the submit button, when hitting the enter key submits the form data.

dijit.InlineEditBox - Issues with onClick event

Hello,

I observed some strange behavior on the dijit.InlineEditBox widget today. Here's a short description:

- Choose any page that has a dijit InlineEditBox (example: http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/advanced-editing-... )
- Double-Click the InlineEditBox
- Two editors are rendered
- Once you hit Cancel/Save on one of the editors, the other one "dies" on the page, doesn't look like it has any live hooks to dijit

Browser Details: Mozilla Firefox 2.0.0.12 running on Fedora Core 8

Dojo Version: Dojo Release 1.1.1

dojo.connect : How to stop propagation????

Hi everybody!
I'm having some troubles with the Dojo Event system.
I'v read carefully the documentation about it but i could not understand my mistake.
I use just 2 simple dijit components with "onclick" events attached to them. But i could not stop the propagation of the event.
There is the code :

Dojo Events are Great
 

dojo.require("dijit.form.FilteringSelect");
dojo.require("dijit.form.Button");

function foo(event) {
var foo = "test";

Syndicate content