gwtquery
gwtquery copied to clipboard
on function is not triggered when Selector is included
It is also strange that the following works:
$(contentList).find(".mytouch")
.on("tap", new Function() {
public boolean f(Event ev) {
GWT.log("div tapped");
return true;
}
});
and the following does NOT work:
$(contentList).on("tap", ".mytouch", new Function() {
public boolean f(Event ev) {
GWT.log("div tapped");
return true;
}
});