<billandted>cos buttons are cool man!</billandted> .b ----- Original Message ----- From: "Filipiak, Bob (Contractor)" <filipiab at atsc.army.mil> To: <javascript at LaTech.edu> Sent: Friday, April 27, 2001 2:56 PM Subject: RE: [Javascript] Submit button > go to URL > Why use a button for what is just a hyperlink? If you do use a type="submit" > or type="button" make sure they are enclosed in between <form> </form> tags > to avoid problems. > > Bob Filipiak (Contractor) > MCP > > -----Original Message----- > From: Ben [mailto:ben at babelfish.co.uk] > Sent: Friday, April 27, 2001 9:14 AM > To: javascript at LaTech.edu > Subject: Re: [Javascript] Submit button > go to URL > > > > Very basic question.. > > > > Is it possible for a <input type="submit"> to simply go to a URL?? > > > > Surely it's possibe. > > Thanks in advance. > > Why not use type="button" and on the onClick event do something like: > > onClick="docuemnt.location = 'http://www.thissite.com/thispage.html'" > > ???? > > .b > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript >