hi there,
I am trying to use document.write to write an event handler, but all
I get is syntax errors..(this is all on one line)
document.write( '<a href="#" onClick="jkpopi mage("'+imageFi leName+'",
"'+imageText+'" ); return false"><img src="'+thumbFil eName+'" width="50"
height="50" border="1"></a>');
The actual error is the first occurance of >... anyone shed any light on
this?
Thanks,
Russell
I am trying to use document.write to write an event handler, but all
I get is syntax errors..(this is all on one line)
document.write( '<a href="#" onClick="jkpopi mage("'+imageFi leName+'",
"'+imageText+'" ); return false"><img src="'+thumbFil eName+'" width="50"
height="50" border="1"></a>');
The actual error is the first occurance of >... anyone shed any light on
this?
Thanks,
Russell
Comment