Menu
Hi,
this might sound stupid but I’m having some problems with my code.
I’m using the document.write to add a piece of code.
the code I want to add contains a javascript function and contains also some variables.
For example
Document.write (‘<a href=”javascript:openPopUp(‘../popup/family.html’,345,580)’><img src=”fam_small.jpg” width=”140″ height=”150″ border=”0″></a>’);
I assume that the single quote inside the html code is causing the problem.
can you please help me?
THX