Pass value to Child window using Javascript
问题 I'm attempting to get the question id from the parent page and pass it into my new child page. When the child window gets a response it will put this data into text_body id . I have managed to create the question id and open a new window. However, I get an error when passing the value to text-body id . Cannot set property 'value' of null. I think the problem happened because the JavaScript still detect the previous page, and can't focus into the new window. I have included my source code