ArcBees / gwtquery

A jQuery clone for GWT, and much more.
MIT License
85 stars 38 forks source link

Bind focus event handler on div not work. #222

Closed July-G closed 10 years ago

July-G commented 11 years ago

Hi: Suppose below html:

<div id="content" contenteditable=true ></div>
$("body").delegate("#content", "focus",
                new Function() {
                    @Override
                    public void f() {
                      //never called
                    }
                });

does not work but with native jquery it works:

    private native void bindFocus() /*-{
        $wnd.$('body').delegate("#content", "focus", function(){
           $wnd.alert("works");
        });
    }-*/;

I'm using gquery 1.4.0 snapshot. Thanks.

jDramaix commented 10 years ago

yes, focusin and focusout is not implemented yet : see issue #11