Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

a href="javascript:void(0)"

neat trick, but is it buggy in NN 6?



6:28 pm on May 17, 2002 (gmt 0)

Inactive Member
Account Expired


Today just isn't my day for Netscape. I'm using a fairly standard trick....

<a href="javascript:void(0)" onClick="loadDetails( 'fooBar' )">

my JS is like this:

loadDetails( fileName ) {
detframe = document.getElementById( "details" );
detframe.src = "details.jsp?file=" + fileName;
[mysterious problem-solving alert( "hello" ) here]

for some reason, in NN6, the page only loads into the iFrame properly when I have an alert in the line right before colorDetails(). When I don't have an alert there, the iFrame doesn't respond. anyone know what on earth could be causing this???


(edited by: tedster at 7:12 pm (utc) on May 17, 2002)

6:52 pm on May 17, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 15, 2002
votes: 0

Beth, a little suggestion:

Why don't you chance the A tag to say <a href="javascript:loadDetails( 'fooBar' )"> instead? ;)


7:00 pm on May 17, 2002 (gmt 0)

Inactive Member
Account Expired


thanks!!!!! such a no-brainer. duhhhhh.