suppose we a input text
<input id=myField type=.. onFocus="call..">
if the user clicks on the field, the focus gets triggered and the action is called.
but i want that when i manually focus to the myField with this code
, the focus event SHOULD NOT triggered. how can i achieve this?
i do not want to that with using some blocker flags or global variables to keep track of whether focus should be fired or not.