How I get with dojo (Struts 2) the properties of div or some another element, I'm running this code:
function updateDiv( url ) { var reportDiv= window['info']; reportDiv.href = url; reportDiv.refresh(); } dojo.event.topic.getTopic("updateDivListTopic").subscribe(null, "updateDiv"); <s:a id="link1" theme="ajax" href="#" notifyTopics="link1_topic" errorText="An Error ocurred" onclick="javascript: dojo.event.topic.publish('updateDivListTopic', 'anotherpage.jsp');">Link 1</s:a> <s:div theme="ajax" id="info" name="info" href="page.jsp" loadingText="Loading information..." errorText="Unable to contact server" listenTopics="link1_topic" > Placeholder... </s:div>