I am using redQueryBuilder. It uses gwt for rendering the textbox elements. I want to change the value of textbox on focus of the element. I am trying the following code.
$(".gwt-TextBox").val("something");
I can the see the value in ui, but when submitting the form the value of the field is empty. Why is it so? Am I missing something big here?
Here is the html code which gets generated by redQueryBuilder.
<div><input type="text" class="gwt-TextBox ui-autocomplete-input" autocomplete="off"></div>