You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem only appears on Chrome (tested on Chrome 29.0.1547.66 m).
I have a use case where a user can modify an <input> value using an html <a> element. If this link is open in a new browser tab (using CTRL+click), input value is not visible in the new opened tab until the user manually focus the <input> field.
It seems to be related to this code :
// swap if there is a default valueif($(this).val()!=''){hint.focus();};
Cause the new opened tab is not active when the plugin is applied, the code associated to the focus event binded to the input doesn't seem to be executed.
I bypassed the problem by extracting the code defined in the focus event binding to a function and calling this function in the above code instead of triggering the focus event.
There might be a better way ?
The text was updated successfully, but these errors were encountered:
The problem only appears on Chrome (tested on Chrome 29.0.1547.66 m).
I have a use case where a user can modify an
<input>
value using an html<a>
element. If this link is open in a new browser tab (usingCTRL+click
), input value is not visible in the new opened tab until the user manually focus the<input>
field.It seems to be related to this code :
Cause the new opened tab is not active when the plugin is applied, the code associated to the focus event binded to the input doesn't seem to be executed.
I bypassed the problem by extracting the code defined in the focus event binding to a function and calling this function in the above code instead of triggering the focus event.
There might be a better way ?
The text was updated successfully, but these errors were encountered: