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

Delphi change the assembly code of a running process -

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

C++ 11 "class" keyword -