If I just write your code, the new link is created similar to the other one, but when I click it nothing happens...

Do I have to register some event in dojo or sth like this?

Thank you very much.

Alvaro Sanchez-Mariscal escribió:
Why not using dojo api to clone the node?
<div id="source">
  <s:a theme="ajax" href="${pruebaUrl}" indicator="indicator"
       loadingText=" " targets="workspaceAjaxContent">
   Try
  </s:a>
</div>

...

<script type="text/javascript">
function aver() {
   var sourceNode = dojo.byId('source');
   var targetNode = dojo.byId('workspaceAjaxContent');

   dojo.dom.copyChildren(sourceNode, targetNode);
}
</script>

If copyChildren does not fit to your requirements, take a look at the
dojo.dom api:

http://dojo.inpdx.net/dojobox/trunk/api/#dojo.dom

Un saludo,



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to