how to update the "href" from ajax response in ExtJs
<p>I need to update the <code>href</code> element depend upon Ajax response and need to trigger click event from the appended <code>href</code></p>

<p>I am doing in the following way. But not able to trigger click event from the updated <code>href</code>.</p>

<p><strong>HTML</strong></p>

<pre><code>&lt;a hidefocus="on" class="x-tree-node-anchor" href="#" tabindex="1" target="contentFrame"&gt;Audit&lt;/a&gt;
</code></pre>

<p><strong>ExtJs</strong></p>

<pre><code>listeners: {
      click: { 
          fn: function(node,event){
                    Ext.Ajax.request({           
                      url: '/ms/module/external-a/api/'+treeId+'/fetch-child/'+UUID,
                      method: 'GET',
                      success:  function (response) { 
                        var addInfoRes = Ext.util.JSON.decode(response.responseText);                   
                        var additionalInfohref = addInfoRes.href                // "/member/erp/config?node=12";  
                        jQuery("#123").attr('href',additionalInfohref);
                      }
                    });
            }         
        },stopEvent: true

}
</code></pre>