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
Post a Comment