I am new to Drupal and am trying to create a node (let's call it child) that will only really be accessed when clicked on from another node (we'll call it parent). When closing the child window, I want to parent window to refresh.
Outside of Drupal, that's easy:
<a onclick="window.close(); window.opener.location.reload();" href="#">Click to close this window</a>
However, when I type this into the body of a node using Full HTML, it still strips the onclick text from my post. How can I include javascript in the body of a node like this? Is there a special module I need.
Thanks!