Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Putting a Graphic on a form's "Submit" button


Message #1 by "Kennan Ingalsbe" <kingals@k...> on Thu, 16 Aug 2001 22:01:17
The other way to create rich formatting on a button is to use the
<BUTTON></BUTTON> tags.  I don't know what Netscape support for these is
like, but the tag is described in the W3C's definition for HTML 4.
Basically, a button tag can contain any other tag, so you could have a
combination of images and text.

Cheers,

Rob

-----Original Message-----
Subject: Re: Putting a Graphic on a form's "Submit"  button
From: CORNELIO GALLARDO <corgall@y...>
Date: Thu, 16 Aug 2001 17:38:58 -0700 (PDT)
X-Message-Number: 1

> you don't to use a javascript function just simply use at type function in form
><input type="image" scr="source_imagefile.jpg" border="0">
>this function is automatically submit the form once you click.
> 
>Greg Griffiths <griffiths@x...> wrote: 
>At 22:01 16/08/01 +0000, you wrote:
>>I need to put a graphic onto my form's "Submit" button, or have the
>>graphic perform in the same way as a "Submit" button. How would I do this?


  Return to Index