Hello everyone!
I'm trying to to mantain the focus of the last component that was clicked
regardless of the refresh of part of the page when certain text field
changes. The problem i have is that the onchange event is always fired
before the onclick method, and this causes that the latter is either fired
over the wrong component or not fired at all, is there a way to delay the
onchange event until after the onclick event takes place?
My goal is to use the onclick event to save the id of the clicked
component, then let the onchange event do its thing (refresh a part of the
page which maybe includes the clicked component).
Has anyone achieved something similiar and/or has any ideas?
Thanks in advance!
Rafael
I'm trying to to mantain the focus of the last component that was clicked
regardless of the refresh of part of the page when certain text field
changes. The problem i have is that the onchange event is always fired
before the onclick method, and this causes that the latter is either fired
over the wrong component or not fired at all, is there a way to delay the
onchange event until after the onclick event takes place?
My goal is to use the onclick event to save the id of the clicked
component, then let the onchange event do its thing (refresh a part of the
page which maybe includes the clicked component).
Has anyone achieved something similiar and/or has any ideas?
Thanks in advance!
Rafael