Hi, I'm having a hard time trying to implement this - I want to have a select box containing options for the user to select the update frequency of my div tag. So my select box has "no refresh", "30 seconds", "60 seconds", "120 seconds" and depending on what the user selects the frequency will change.
I was thinking i could make a topic to change the updateFreq parameter then with the onchange event with the select tag i'll make a call for that topic: dojo.event.topic.subscribe("/changeRefresh", function(data, type, request) { // code to change the updateFreq of the div tag } <s:select onchange="onchange="dojo.event.topic.publish('/changeRefresh')" ...... I just don't know how to access the div tag and change the updateFreq parameter. I tried using the dojo.byId("myDivId") function but it didn't work. Suggestion on how to do this? Also just curious as to why there's no type variable when i call my topic from an event like onchange, it's always undefined. -- View this message in context: http://www.nabble.com/Triggering-a-topics-tf4722712.html#a13502518 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]