javascript - JSNI : undefiend is not a function -



javascript - JSNI : undefiend is not a function -

im trying implement pickdate.js project :

http://amsul.ca/pickadate.js/date.htm

when seek phone call methode :

private native void exportstaticmethod(string id) /*-{ var $input = $doc.getelementbyid(id) $wnd.pickdate() }-*/;

i

undefiend not function

it should $input.pickadate(). should invoking pickadate function (notice it's pickadate, not pickdate) on input field, not whole window.

javascript gwt jsni

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -