I am new to Drupal and trying to create a node (let it be called a child) that will be available only when you click on another node (we will call it parent). When closing the child window, I want to update the parent window.
Outside of Drupal, it's easy:
<a onclick="window.close(); window.opener.location.reload();" href="#">Click to close this window</a>
However, when I inject it into the node body using Full HTML, it still removes the onclick text from my post. How to include javascript in node body like this? There is a special module that I need.
Thanks!
source share