Re: execute javascript from ajax eventlistener

2008-02-14 Thread Paul Stanton
Found a solution although it seems like a hack: java: getRequestCycle().getResponseBuilder().addStatusMessage(null, evalz, alert('executed');); js: dojo.event.topic.subscribe(evalz, function(msg){eval(msg.message);}); anyone got a better solution? p Paul Stanton wrote: Hi All. I have an

execute javascript from ajax eventlistener

2008-02-13 Thread Paul Stanton
Hi All. I have an Autocompleter, which has an 'onValueChanged' event listener. The event is being triggered and everything up to this point works as expected. What I'd like to do in this event listener is cause a javascript snippet to be executed on the client for example: