javacript question related to use of ' and "
- by vatismarty
my_window.document.write('
function redirect(linkid)
{
opener.location.href=linkid;
window.close();
}
Hello
Thank you.If you accidentally closed our website click here to go back to our website
');
This is my piece of code to close a already opened pop up window by redirecting it to google.com. I think there is some problem with matching the apostrophes ' and "... how to code with (' (" (' ') ") ')... is this correct... please help me with this.