Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Browser-compability problem!


Message #1 by "SD-Studios" <info@s...> on Thu, 17 Jan 2002 20:39:13 +0100
Hey, all! =)

Im running a JavaScript that works just fine with IE, but not with
Netscape...

The script is pretty long, but the problem is when it comes to this
else-string things start getting harder:
else {
document.proceed.submit();
document.location.href="../92.asp"
}

document.proceed.submit(); submits a form where the action-file is opened in
a new window (target="blank").

document.location.href="../92.asp" leads the visitor to another page on my
site.

BUT with Netscape only one of the strings work, the lower of them. In this
case document.location.. But, if i switch places on the strings the
document.submit-row is executed...

Umm....I dont get it...! Help! =)
--
Martin Johansson


  Return to Index