Closed GoogleCodeExporter closed 9 years ago
The .live() method is a very important one of jQuery, could someone please make
spoort for it a priority?
Original comment by stevenroose
on 6 Feb 2013 at 11:44
Could you post a complete example demonstrating the issue?
The piece of code you have posted works fine in my example:
public void onModuleLoad() {
$("a.link_list").live("click", new ListLinkHandler());
// Add a new link via gquery
$("<a class='link_list' href=javascript:alert('href') onClick=alert('onClick')>Click </a>").appendTo(document);
// Add a new link via gwt widgets
Anchor a = new Anchor("click");
a.setStyleName("link_list");
a.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
Window.alert("clickHandler");
}
});
RootPanel.get().add(a);
}
public class ListLinkHandler extends Function {
@Override
public boolean f(Event e) {
Window.alert("live");
return true;
}
}
Original comment by manuel.carrasco.m
on 7 Feb 2013 at 1:07
@stevenroose, just a ping, could you verify if the issue continues?. I would like to close this issue.
Original comment by manuel.carrasco.m
on 15 Feb 2013 at 1:33
Original comment by manuel.carrasco.m
on 22 Feb 2013 at 3:03
Original issue reported on code.google.com by
stevenroose
on 6 Feb 2013 at 11:32