Re: Opening a Window with JavaScript

From: Date: Wed, 16 Jul 2003 18:15:37 +0000
Subject: Re: Opening a Window with JavaScript
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-155473@lists.php.net to get a copy of this message
Todd Cary <todd@aristesoftware.com> wrote: > [...] > However, if I use an anchor, the form is submitted. Is there a way to > prevent this? Here is the code I tried: > > <a href="#" onClick="MM_openBrWindow('legal.php', '', > 'toolbar=no, > status=yes, scrollbars=no, resizable=no, width=790, height=600')";"> I believe you can put something like (not tested): <a href="javascript:MM_openBrWindow('legal.php', '', 'toolbar=no, status=yes, scrollbars=no, resizable=no, width=790, height=600')";"> > > Todd > -- Curt --

« previous php.general (#155473) next »