Belfegor
7 Sep 2007, 7:16 AM
I need to replace the anchor that are load into a panel. I want to replace the link with a call to a contentpanel.load .
I tried
// where el is the anchor
el.addListener('onclick', function(){
painel.load({url:"'"+el.dom.href"'",callback:Example.handleCallback});
return false;
};
el.set({href:"#"});
The href turns to "http://localhost/#"
and the event isn't working
any ideas why ?
I tried
// where el is the anchor
el.addListener('onclick', function(){
painel.load({url:"'"+el.dom.href"'",callback:Example.handleCallback});
return false;
};
el.set({href:"#"});
The href turns to "http://localhost/#"
and the event isn't working
any ideas why ?