[thelist] Javascript problem with Opera

Peter Small peter at genps.demon.co.uk
Wed Apr 24 10:12:01 CDT 2002


I'm using a Javascript function to dynamically write an <a href link on a
page. It takes the form:

var qLine = "?abc"
document.write("<a href='apage.html" + qLine +"'>Go there with a query
line</a>");

This works fine with Explorer and Navigator but it doesn't work in Opera
5.0 (on my Mac).

What comes up is a text file of the HTML document, instead of the HTML page.

Any ideas as to what is happening here?

peter
http://www,petersmall.net





More information about the thelist mailing list