I have this jsf button on my parent window:
The action opens a pop-up with another button, what I want is to reload the text associated with the parent button (Which is updated on java) without reloading all the page. I am trying this javascrit event on my child's screen button:
window.opener.document.getElementById('boton').location.reload()
But this is not working, how can I access to the parent page's button (or div) using javascript?
- http://stackoverflow.com/questions/13311812/popup-window-accessing-parent-dom
- http://stackoverflow.com/questions/2167455/how-to-access-parent-window-object-using-jquery – Ben221199 Mar 12 '17 at 19:33