I use the following code to link from an XHTML 1.0. page to an external script:-
On the same page I call a function:-
All standard stuff and wirks fine in IE6 and NN6. But Opera 6.05 always returns an error alert.
message: Reference to undefined variable: No such variable 'myfunction'
If I put the script in the page head, then it finds the function OK.
I have tried calling the function by onClick but that doesn't work either.
Is there anything I have to do for external scripts to work in Opera?
Thanks in advance.