S
Spartanicus
Is it possible to pass a parameter to a function that is written using a
document.write?:
document.write('<span onclick="myfunction(parameter)"><span>');
Using single quotes prematurely delimits the document.write, using
double quotes prematurely delimits the attribute value.
document.write?:
document.write('<span onclick="myfunction(parameter)"><span>');
Using single quotes prematurely delimits the document.write, using
double quotes prematurely delimits the attribute value.