yeah it is possible. you just need to create Anchor(String ) from GWT
and register a onclick event for this anchor as Anchor.addClickHandler(); using this you will be able to bind onclick with the link you desired. -- Aditya On Thu, Aug 26, 2010 at 5:19 AM, emilioF <[email protected]> wrote: > hi all, > i have a dialogbox with some link as this <a id="a" class="doc">abc</ > a> and i want bind a click event on a link and get id link. In jquery > is $("a.doc").bind("click", function(event) { var id = $ > (this).attr("id");. In GWT how is possible? thanks > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
