Re: disabled button

bill walton
Wed, 21 Oct 2009 13:19:53 -0000

Hi Eduardo,

On Wed, 2009-10-21 at 13:51 +0200, Eduardo Bueno wrote:

> My problem is that I don''t know the proper component to use. This
is the
> way I''m trying right now:
>
> <%= link_to image_submit_tag

> This creates another problem:
> :disabled => true doesn''t work on IE (and only on IE)

Maybe it''s just too early here, but I''m not following you.
For
starters, why are you using _both_ link_to and image_submit_tag ?

It''s kind of interesting that it''s working at all.
I''d see if the HTML
being generated (using Firefox, of course) validates.

Assuming that the buttons you want to disable are, in fact, form submit
buttons, I''d lose the ''link_to'' as a first step.  Let
us know what the
behavior is when you do that.

HTH,
Bill