Hello!
I'm trying to refactor script from jquery to dojo and have a problem with call event onclick on link from script.
How to make .click() from dojo on a link?? Any suggestions?
event
Emulate onclick event on link
- Login or register to post comments
- Subscribe post
struts2 : Problem with events in autocompleter
I am using struts2 autocomplete tag
<s:autocompleter forceValidOption="true" autoComplete="false" listKey="id" maxLength="6"
id="orderFormMemberList${count.index}" keyName="orderFormMemberIdList[${count.index}]"
name="orderFormMemberNameList[${count.index}]" theme="simple" list="portraitClassMemberList"
onchange="changeForm()">
</s:autocompleter>
</s:iterator>
struts2 : Problem with events in autocompleter
I am using struts2 autocomplete tag
- Login or register to post comments
- Read more
- Unsubscribe post
Chart and Event
Hello,
Can I attach some events on the chart, for example onmouseover, onclick etc.. ?
Thanks,
Youngho
Programatically trigger keypress event from a dom node?
I've got a textbox which I programatically want to trigger a keypressed event from. The event must be "custom" with certain attributes set (shiftKey).
I've got this to work successfully in FF, but in IE it refuses to take in my custom event. Here's my IE code:
// create custom event
var newEvent = document.createEventObject();
newEvent.shiftKey = true;
newEvent.type = "keypress";
newEvent.charCode = dojo.keys.ENTER;
// fire event from dom node
var domNode = dojo.byId("somenode");
domNode.fireEvent("onkeypress", newEvent); // this line don't work :(, event never gets fired
How do I cause dojo to stop an event after calling to my event listener
We are using the dijit.form.DateTextBox dojo object. We need to register on the OnBlur event in order to cause the page to be recreated when the date is changed.
While the page is being recreated the original controls are deleted and the whole page is recreated, there for after calling this event listener dojo is continuing with its own code but the object doesn't exist anymore so we get an error:
'this.domNode' is null or not an object
Can we use another way to register the OnBlur event in order to avoid this situation?
Or is there a different solution?
- Login or register to post comments
- Read more
- Unsubscribe post
Charting Event Handling
Has anyone yet developed a work around for the dojox.charting package that will allow for clickable bars or points on the graphs that are generated? Our company would like to transition from static JFreeChart images to more dynamic dojo charts on our web interface, but this one feature is critical for us to be able to maintain curtain plotter functionality. If no one has a work around, does anyone in the dojo development community know when this feature might be introduced?
Order of executed event handlers
Hi,
I assume that the event handlers used by dojo.connect() are executed in the order they are registered when the particular event fires.
Is there a way to specify the order of a connected event, for example "execute before all others" ?If not possible via API does somebody have an idea for a workaround to achieve exactly this?
Thanks in advance,
Philipp
- Login or register to post comments
- Subscribe post
Button with an onclick event next to a DateTextBox
Hi,
I have a DateTextBox on my page and I was wondering how to put a button next to the calendar, so when the user clicks on the button, the calendar is displayed. Another question is how to disable the default behavior, which is showing the calendar when the text field is focused.
Thanks in advance.
Regards,
Marco
- Login or register to post comments
- Unsubscribe post
Alex Russell Webinar Thurs, 3/20 at 12 PST on the Zen of Dojo
Alex Russell will be presenting at the Bay Area Visual Ajax Group meeting Thursday, March 20 at 12 PST. He will be talking about "The Zen of Dojo - Making Ajax Development Effortless"
To register for the webinar, send an email to rsvp@visualajax.org
If you are in the Bay Area, you can also attend in person at 301 Howard St, 22nd Floor
- Login or register to post comments
- Read more
- Unsubscribe post
