Please be clear on your scenario..
if the input text component does not have an af:clientListener attached, please set its clientComponent property to true. Also, unless you do a relative component lookup, make sure you use AdfPage.PAGE.findComponentByAbsoluteId . The ID you use should then be "question" assuming that the component is not located in a naming container and also not stamped (e.g. a table or iterator row).