[thelist] Netscape 6 loads page twice
Charlie Llewellin
sallyevans at eden.com
Wed Dec 6 18:42:34 CST 2000
thanks for the response -
I am using javascript below to write out the form:
document.writeln('<form name="suggest" method="post"
action="/admin/feedback.php">');
document.writeln('<td valign="middle" class="magsmallstyle">');
document.writeln('<input type="hidden" name="refer_page"
value="'+top.location.href+'">');
document.writeln('<input type="hidden" name="title"
value="'+document.title+'">');
document.writeln(' | <a href="#" onclick="commentit();return
false;">Comment<\/a> | <\/td>');
document.writeln('<\/form>');
which ain't working.. only in Netscape 6
Actually, I am liking this browser more and more as I use it.
<tip type="Netscape 6">
Netcape logo won't stop twirling? One thing to check that all your hidden
form elements are within <td></td> tags
document.writeln('<input type="hidden" name="refer_page"
value="'+top.location.href+'">');
document.writeln('<input type="hidden" name="title"
value="'+document.title+'">');
document.writeln('<td valign="middle" class="magsmallstyle">');
document.writeln(' | <a href="#" onclick="commentit();return
false;">Comment<\/a> | <\/td>');
The above will cause the logo to continue to twirl. Putting the first two
lines after the third fixes it.
</tip>
> Netscape 6 does fire the onclick event on an anchor element, and a
> similar example that I wrote worked fine. Your script cites
> "document.suggest", which I assume is a form defined elsewhere on your page.
> If you don't solve it, try posting a more complete code sample.
More information about the thelist
mailing list