Scenario : Sometimes we need to copy the whole info entered in child window & carry on the rest operations. In those scenarios the focus need to be shifted back to parent window.
Solution: Just call opener.focus() method on button/href click.
Example:
onclick="opener.focus()">
No comments:
Post a Comment