Submit_to_remote with an image-tag?


#1

Hi All,

I am searching for a way to use an image as a submit button. I’m not
having much luck using submit_to_remote with a image-tag, and I can’t
use link_to_remote because I need to submit some form fields.

I know this must be possible but I am missing something… Ideas anyone?

Thanks in advance,
Jens


#2

Hi Nancy,

You could just use a form_remote_tag with an image_submit_tag.

Take care,
Sean


#3

Sean O’Hara wrote:

Hi Nancy,

You could just use a form_remote_tag with an image_submit_tag.

Take care,
Sean

Thanks Sean, I’ll give it a try.