You can only use that one if your using the GET method for input, 
otherwise you need to use a form tag itself.  I'm not exactly sure of the 
form tag, but this is close:

<input type=submit img=image_name border=0 value=submit>

I know it ain't but as close as I can get off the top of my head.<g>

On 1 Jul 98, at 22:01, Chad Zimmerman wrote:

> I am closer to getting it fixed ... I replaced that script with a
> cleaner one.  But, they used the default form button .. I am using an
> image .. I am getting an error now when pressing the go button ... 
> 
> Do this look right for the submit button:
> 
> <A HREF="javascript:surfto(this.form)"><img></a>
> 
> I think I have it wrong .. but am not sure how it goes .. the cgi is at:
> http://www.perl2000.com/cgi-bin/perl-search3.pl
> 
> Chad
> 
> Jack Killpatrick wrote:
> > 
> > I wrote:
> > 
> > > I get an error saying there is no
> > > document.selecter.select1 .   What if you just used
> > > document.select1.(property goes here) instead? Is the document name
> > > "selecter" left over from a framed page that the script came from?
> > 
> > After looking at Matthew Soffen's comment:
> > 
> > > Umm... where is the <form action=.....> line ?
> > 
> > > thats part of the problem.  <option> is only valid within a form.
> > >  The </form> tag is there but the open tag isn't...
> > 
> > maybe if you add <form name="selecter" action=.....> you'll solve your
> > problem. I spose the "selecter" bit I mentioned before is the name tag
> > for the form in the document.
> > 
> > Jack
> > 
> > ____________________________________________________________________
> > --------------------------------------------------------------------
> >  Join The Web Consultants Association :  Register on our web site Now
> > Web Consultants Web Site : http://just4u.com/webconsultants
> > If you lose the instructions All subscription/unsubscribing can be done
> > directly from our website for all our lists.
> > ---------------------------------------------------------------------
> 
> -- 
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Chad Zimmerman
> Webmaster: Perl Script Archive   http://multipleimage.com/d/
> Personal: http://www.brainfreeze.net/wildone/ (coming soon)
> ICQ #: 10875718
> ____________________________________________________________________
> --------------------------------------------------------------------
>  Join The Web Consultants Association :  Register on our web site Now Web
> Consultants Web Site : http://just4u.com/webconsultants If you lose the
> instructions All subscription/unsubscribing can be done directly from our
> website for all our lists.
> ---------------------------------------------------------------------


--Lee
Nurses' Call Administrator     http://www.nurses-call.org
Design West                    http://www.designwest.com
Web Weaving Wizard             http://www.wizards.net
____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to