onChange event prevents button press from being registered
734426Nov 28 2009 — edited Nov 30 2009hi -- I have an onChange event on a text item. It calls some javascript that sets the value of a related
item on the page. The page is for querying, so the text fields serve as filters on the returned values.
When the user types into the field w/ the onChange event, and then clicks outside it, the related
value is filled in. Great, when the user enters another text field. Not great if they click the Query button:
the related field gets filled in, but the Query button press is not registered. They have to click Query again
to get the query to happen.
Is there any way around this? There is also an LOV on the text field in question, and the behavior is fine
when the value changes due to LOV selection. But they do also need to be able to enter values directly
into the field.
Ideas?
Thanks,
Carol