Add a click event listener to the qx.ui.embed.Html object instead of inside
the anchor
On Apr 29, 2013 5:28 AM, "fei wang" <[email protected]> wrote:

> Hi,
>
>
> In my Application.js, I have two snipplet below:
>
> [Snipplet 1]
> var html = new qx.ui.embed.Html();
> html.setHtml("<a href=’#‘ onclick=‘js();'>click me</a>");
>
> [Snipplet 2]
> closeWin : function() {
> ...
> }
>
> I want to call 'closeWin' method when I click the 'click me' text, How
> should I do ?
>
>
> Regargs,
> Wang Fei
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to