spent all levels of ' " and \"
Posted: Wed Jun 02, 2010 6:01 pm
hello.
a stupid question - i need to echo this in PHP:
onclick='javascript: document.getElementById("k10").innerHTML ="<iframe src =\"./new.php?subfolder=projects&level=1\" ></iframe>";'
but i already used both ' and " with \" for the javascript, so i don't know how to write the quotes to make sure i'll post exactly this into the page.
thanks!
a stupid question - i need to echo this in PHP:
onclick='javascript: document.getElementById("k10").innerHTML ="<iframe src =\"./new.php?subfolder=projects&level=1\" ></iframe>";'
but i already used both ' and " with \" for the javascript, so i don't know how to write the quotes to make sure i'll post exactly this into the page.
thanks!