gwt textbox add change handler

Posted by msaif on Stack Overflow See other posts from Stack Overflow or by msaif
Published on 2010-04-11T01:42:29Z Indexed on 2010/04/11 1:53 UTC
Read the original article Hit count: 770

Filed under:
|
|
|
|

I execute but not executed. pls help me.

  TextBox zip1 = null;

  function onModuleLoad() {
    zip1 = TextBox.wrap(DOM.getElementById("zip1"));

zip1.addChangeHandler(zip1ChangeAction()); } private ChangeHandler zip1ChangeAction() { return new ChangeHandler() { public void onChange(ChangeEvent event) { Window.alert("change fired"); } }; }

© Stack Overflow or respective owner

Related posts about gwt

Related posts about textbox