P
Peter
I have the following variable and I want to redirect to its location
at window.parent.location=Out but it doesn't work. I've tried it with
and without the ; semicolon. I've cleared my cache each time I
attempted to run the code otherwise it wouldn't get the new code. It
allows me to go to google.com so I know the window.parent.location
part is correct. When I do the document.write(out) it displays the
correct url so I know it contains the correct data so am stumped at
why window.parent.location=Out doesn't work.
Out='<font size=-2><a href="http://www.domain.com/csv/csvread.cgi?
mytemplate=tp4&type=RD&order_by=SORTORDER&DATE>='+Fmt+'">'+Fmt+'</
a><br>';
this doesn't work
window.parent.location=Out;
this works
window.parent.location="http://www.google.com"
this works
document.write(Out);
Any thoughts as whats wrong
Thanks,
Pete
at window.parent.location=Out but it doesn't work. I've tried it with
and without the ; semicolon. I've cleared my cache each time I
attempted to run the code otherwise it wouldn't get the new code. It
allows me to go to google.com so I know the window.parent.location
part is correct. When I do the document.write(out) it displays the
correct url so I know it contains the correct data so am stumped at
why window.parent.location=Out doesn't work.
Out='<font size=-2><a href="http://www.domain.com/csv/csvread.cgi?
mytemplate=tp4&type=RD&order_by=SORTORDER&DATE>='+Fmt+'">'+Fmt+'</
a><br>';
this doesn't work
window.parent.location=Out;
this works
window.parent.location="http://www.google.com"
this works
document.write(Out);
Any thoughts as whats wrong
Thanks,
Pete