GWT: Trouble getting value from a text box

前端 未结 2 868
情书的邮戳
情书的邮戳 2021-01-19 06:17

I\'m using GWT 2.4. I\'m trying to submit an AJAX request with the only input being the value of a text field on the page. Here is how I attach the handler to the page\'s

2条回答
  •  情话喂你
    2021-01-19 06:59

    Well like you said it's an AJAX request so whatever code you have on ... the GWT code will continue to run.

    You should use the callback of the request and check the value of the nameFieldElement at that moment.

提交回复
热议问题