xEM <xem_@boxmail.biz> wrote:
>Steve Pugh <> wrote :
>> emwu <> wrote:
>>
>>>how to make submit button, like that:
>>>
>>><input class="input_bg" type="submit" name="submit" value="upload">
>>>
>>>but with image instead of default button with text "upload"
>>
>> type="image"
>>
>> http://www.w3.org/TR/html4/interact/forms.html#h-17.4.1
>>
>>
>i put this:
><input type="image" name="submit" value="upload" src="/images/go.gif">
>
>but my upload stopped working 
>everything looks good, but not working (with normal button works fine)
What is your form handler on the server expecting to receive?
With the submit button submit=upload will be sent to the server along
with the rest of the data from the form. With the image submt.x=XX and
submit.y=YY where XX and YY are the mouse coordinates of the click on
the image, will be sent instead.
Other than that, post a URL and let us test it.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <> <http://steve.pugh.net/>