title: Get parentNode of Current Script Tag
body: <p>Is there any way to get the parent node of current script tag. I wanted to assign id attribute to the script tag but found that it does not support standard attributes.</p>
  
  <p>Actually I want to get the title of a document inside a frame and document.title is returning the title of the webpage.</p>