You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by cosmindumy <co...@yahoo.com> on 2012/05/28 11:09:48 UTC

Make additional actions on click on external links

Hello,
How can I make additional actions on click event on external link? It
doesn't implement onClick method.
Thanks.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Make-additional-actions-on-click-on-external-links-tp4649516.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Make additional actions on click on external links

Posted by cosmindumy <co...@yahoo.com>.
Thanks for reply.
I solved. I added a behaviour with onclick event. 

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Make-additional-actions-on-click-on-external-links-tp4649516p4649518.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Make additional actions on click on external links

Posted by Thomas Götz <to...@decoded.de>.
You could use e.g. jQuery event registration:

$("#target").click(function() {
  alert("Handler for .click() called.");
});

See http://api.jquery.com/click for more details.

   -Tom


on 28.05.2012 at 11:09 cosmindumy wrote:

> Hello,
> How can I make additional actions on click event on external link? It
> doesn't implement onClick method.
> Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org