Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
rudodoo619 #1
Using an image as my submit buttom
I created a search form in DW 8 and when I use a submit button to display
results it works fine. However, when I try and insert an image as my submit
button, the results page isn't taking it.
How do I use an image as my submit button on a search form?
rudodoo619 Guest
-
Using an image to submit a form
Hi, Simple question I know, but I am having problems getting an image to submit a form, Ive tried using "javascript:document.form1.submit()"... -
Image for Submit Button
hey everyone. i'n building a for in which the data from the fields is inserted into a database table. i'm using an image for my submit button, but... -
Can i use a self made image instead of a submit button?
hi, i want to use a submit button i have created in fireworks. but im having some difficulty getting it to submit data in a form! Can this be... -
PHP gives error when using image for submit form!
Hello, I want use instead of the standard submit-button a image! This don't work, he gives a error on file php4ts.dll, then he is closing the... -
Submit Button is now an Image
Hi, I have a form with input fields and a submit button as following :(don't focus on mistypings if any) <FORM action=page.asp method=post>... -
Clukey #2
Re: Using an image as my submit buttom
in your image you can put:
onClick="document.yourForm.submit()"
Clukey Guest
-
rudodoo619 #3
Re: Using an image as my submit buttom
Where at on my image
<input type="submit" value="search" img src="Images/search.gif" name="submit" id="submit"></label>
That is what I have for the submit button
rudodoo619 Guest
-
Instetus #4
Re: Using an image as my submit buttom
i dont understand the </label> closing tag
also, you can use an img rather than Button component
<img src="your image" onClick="document.YourForm.submit()" />
Instetus Guest
-
rudodoo619 #5
Re: Using an image as my submit buttom
Is there anything I need to replace
onClick="document.yourForm.submit()"
Do I leave it like that or should I put some other values for it?
rudodoo619 Guest
-
Instetus #6
Re: Using an image as my submit buttom
replace your image with correct path and yourForm with the actual form name within your document
Instetus Guest
-
rudodoo619 #7
Re: Using an image as my submit buttom
so for example if my form's name was search I would type
<img src="my image" onClick="document.search.submit()" />
right?
rudodoo619 Guest
-
Lionstone #8
Re: Using an image as my submit buttom
No. Very wrong.
<input name="submit" type="image" src="myImage.gif">
That's the proper way to use an image to submit a form.
"rudodoo619" <webforumsuser@macromedia.com> wrote in message
news:durrd7$qv$1@forums.macromedia.com...> so for example if my form's name was search I would type
>
> <img src="my image" onClick="document.search.submit()" />
>
> right?
>
>
Lionstone Guest



Reply With Quote

