...

View Full Version : OK, where is my error in this line?



scaifea
08-29-2007, 01:21 PM
document.write('<a href="http://blackwhite.uk.com' + code + ' target="_blank">click here</a>');

It doesn't open a new window but stays in the same one - I know the error is a simple one, but I am blind to it today!

Kor
08-29-2007, 01:45 PM
You forgot to end quote the link


document.write('<a href="http://blackwhite.uk.com' + code + '" target="_blank">click here</a>');

scaifea
08-29-2007, 04:04 PM
That was annoying me for ages and I just couldn't see it :thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum